Home  >  Article  >  Backend Development  >  权限-php move_uploaded_file总是执行失败

权限-php move_uploaded_file总是执行失败

WBOY
WBOYOriginal
2016-06-02 11:32:201200browse

php权限move uploaded filecentos 7文件上传

如题,在做文件上传,可是不管文件格式怎么样都上传不成功。求大神指教!
上传html代码如图:
图片说明
处理文件代码如图:
图片说明
最后执行结果如下图:
图片说明
路径相关如下图:
图片说明
ps:系统是centos 7,服务器是apache,/var/www/html/fundamentals_of_compiling的权限是用root用户chmod 777 赋予的,其下的upload路径也是一样,实在研究不明白了,求帮助!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn