在wordpress中上传图片错误,报错:
Warning: File upload error - unable to create a temporary file in Unknown on line 0
upload_tmp_dir 临时文件夹问题
解决办法:
找到php.ini 中的 upload_tmp_dir 把前边的“;”去掉然后改为upload_tmp_dir =C:\Windows\temp
最后记得重启apache
在wordpress中上传图片错误,报错:
Warning: File upload error - unable to create a temporary file in Unknown on line 0
upload_tmp_dir 临时文件夹问题
解决办法:
找到php.ini 中的 upload_tmp_dir 把前边的“;”去掉然后改为upload_tmp_dir =C:\Windows\temp
最后记得重启apache