Warning: session_start() [function.session-start]: open_basedir restriction in effect. File

Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(C:WINDOWSTEMP) is not within the allowed path(s): (D:webwwwroot) in D:webwwwrootadmininstallindex. on line 11

上次对站点的PHP目录做了,防止跳出文件夹的权限设置,今天还以为哪里出问题了呢,还以为程序的问题,后来想到了。将PHP防止跳出目录设置去掉了就恢复正常了。

Warning: session_start() [function.session-start]: open_basedir restriction in effect. File》上有 0 条评论

  1. yuliang

    你的应该是APACHE 吧?

    你那主机站点那应该有设置

    php_admin_value open_basedir /usr/local/apache
    /htdocs

    后面就是设置的目录,把这行去掉

  2. 新手

    我最近安装一个网站系统和你这个叙述相近,不知道你怎么将“将PHP防止跳出目录设置去掉”,谢谢

发表评论

邮箱地址不会被公开。 必填项已用*标注

click to changeSecurity Code