Warning: File upload error - unable to create a temporary file in Unknown on line 0

本文来源:https://www.cnblogs.com/thinkingthigh/p/7894856.html

衷心感谢作者!

upload_tmp_dir 临时文件夹问题

上传文件提示

Warning: File upload error - unable to create a temporary file in Unknown on line 0

找到php.ini 中的 upload_tmp_dir 把前边的“;”去掉然后改为upload_tmp_dir =C:\Windows\temp
最后记得重启apache

posted @ 2019-11-15 20:44  一天从晚上开始  阅读(206)  评论(0编辑  收藏  举报