运行php的时候出现了一下警告:
Warning: Unknown: open(D:/Program Files/php5/temp1\sess_l5b1a48m6kmb1g0t5cs33690v0, O_RDWR) failed: No such file or directory (2) 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 (D:/Program Files/php5/temp1) in Unknown on line 0
其实是由于在php.ini配置中session.save_path = "D:/Program Files/php5/temp"设置的问题;
把以上路径修改正确就可以了
或则根据他的路径创建该有的文件夹
本文转自黄聪博客园博客,原文链接:http://www.cnblogs.com/huangcong/p/5040842.html,如需转载请自行联系原作者