ecshop移植到别的服务器时,运行界面出现许多如下警告信息:Warning: file_put_contents(D:/wanz/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wanz\includes\cls_template.php on line 198Warning: Cannot modify header information - headers already sent by (output started at D:\wanz\includes\lib_base.php:1268) in D:\wanz\includes\cls_session.php on line 116
temp/下的文件都改为了777权限,还是有警告。
很可能的原因之一:
服务器开启了selinux,拒绝了操作
解决方法:
关闭: setenforce 0
查看:getenforce