在各种php环境配置正确的情况下,move_uploaded_file函数总是执行失败 很可能的原因之一: 服务器开启了selinux,导致不能移动文件 关闭: setenforce 0 查看:getenforce