最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Warning: session_start() [function.session-start]: open_basedir restriction in effect. File解决方法
时间:2022-06-24 23:53:36 编辑:袖梨 来源:一聚教程网
Warning: session_start() [function.session-start]: open_basedir restriction in effect. File解决方法
Warning: include() [function.include]: open_basedir restriction in effect. File(/www/webpublic_html/admin/inc/inc.php教程) is not within the allowed path(s): (/www/webpublic_html/searchhight:/tmp) in /www/webpublic_html/searchhight/index.php on line 2
Warning: include(/www/webpublic_html/admin/inc/inc.php) [function.include]: failed to open stream: Operation not permitted in /www/webpublic_html/searchhight/index.php on line 2
Warning: include() [function.include]: Failed opening '/www/webpublic_html/admin/inc/inc.php' for inclusion (include_path='.:/www/wdlinux/php-5.2.17/lib/php') in /www/webpublic_html/searchhight/index.php on line 2
Fatal error: Class 'Db' not found in /www/webpublic_html/searchhight/index.php on line 3
Fatal error : session_start() [function.session-start]: Failed to initialize storage module: files (path: ) in E:footloginlogin.php on line 4
开启了session_start()后出现了这个问题。
php.ini 的open_basedir中加入C:WINDOWSTEMP
,修改.ini文件是很容易出错的。因为该配置文件不是仅仅服务一个程序,所以修改配置文件,带来的后果
可能有很大的影响。通过
ini_set ( 'session.save_path' , dirname ( __FILE__ ) . '/../dirname/' ) ;
相关文章
- 三角洲云游戏网页版极速畅玩-三角洲云游戏一键秒玩入口 11-02
- Windows 11 如何永久禁用会自动重启的 SearchHost.exe? 11-02
- 漫蛙manwa2链接入口-漫蛙manwa2网页直达入口 11-02
- jm漫画天堂-禁漫成人隐藏入口 11-02
- AO3镜像站合集-10个实测可用AO3入口网址速存 11-02
- pixiv网页版手机入口-pixiv手机网页登录入口 11-02