Warning: session_start() [function.session-start]: open(C:\WINDOWS\TEMP\\sess_e8digff7draam519u52941s7u7, O_RDWR) failed: Permission denied (13) in E:\wwwroot\wwwroot\sunjay\wwwroot\admin\login.php on line 4
Warning: Unknown: open(C:\WINDOWS\TEMP\\sess_e8digff7draam519u52941s7u7, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
这是因为php.ini 设定session.save_path不存在有问题所导致,一般见于WINDOWS系统中安装的PHP
可按修改如下:假设在C:\WINDOWS\里存在一个文件夹temp,在temp里建立一个文件夹sessiontmp,然后找到php.ini打开,找到session.save_path=“(这里的信息应该是你之前的错误信息,如路径E:/SERVER/PHP/SESSION,但是并不存在这一路径)"(这一行前面的;号去掉),修改为 session.save_path = “c:/WINDOWS/temp/sessiontmp",最后重启服务服务器即可