Warning: session_start() [function.session-start]: open_basedir restriction in effect. File
在执行PHP程序的时候,出现Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(C:WINDOWSTEMP) is not within the allowed path(s):
这是对站点的PHP目录做了防止跳出文件夹的权限设置,只要将PHP防止跳出目录设置去掉了就恢复正常了。就是在机站点那应该有设置
php_admin_value open_basedir /usr/local/apache
后面就是设置的目录,把这行去掉就可以了!
呵呵,你的答案正好解决了我的问提,十分开心.我自配的服务器(WAPM)终于稳定的运行起来了
i love this story and i think it’s true! thank-you for sharing it.
What a talent! I’m jealous
:O
I enjoy reading your posts, and agree with your comments
I visit your blog, I can feel love is all around
enjoy your words so much.
My heart goes out to all of you facing this.
That is a actually well thought out post. I certainly enjoyed reading it. Thanksapply for student loans