为什么在目录上拥有正确权限的PHP仍然返回FALSE?
我已经尝试了chmod 777到该脚本所说的不可写的目录,并chown到root和apache。
if (!is_writable($destinationFolder)) {
throw new Exception('Folder: '.$destinationFolder.' is not writable or does not exists.');
}发布于 2015-03-03 04:10:50
尝试禁用selinux。
# vim /etc/sysconfig/selinux设置'SELINUX=disabled',写成':wq‘。重新启动启动apache。
https://stackoverflow.com/questions/28818581
复制相似问题