apache重启后我的文件上传不起作用

时间:2017-04-11 13:16:45

标签: php apache file-upload centos ping

我昨天重启了我的Apache服务器。 以前我的文件上传工作正常。 但是在apache服务器重启之后会抛出一些错误。

 move_uploaded_file(): Unable to move '/tmp/phpYf1jox' to 'images/photo.jpg'

我将图片文件夹权限授予777,其所有者/群组为apache apache

我正在使用Centos。与此同时我的

exec("ping -n 3 $ip", $output, $status);

也不起作用。请帮助我。

0 个答案:

没有答案