win7+iis+wordpress ,无法上传图片!

WBOY
Release: 2016-06-13 13:53:43
Original
1017 people have browsed it

win7+iis+wordpress ,无法上传图片求助!!
在本地调试wordpress,环境是win7+mysql5.5+php5.3+wordpress3.2
已经安装成功,能正常访问http://loclhost
日志也能发表,但是在添加图片和上传主题的时候提示“PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0 ”

请问是什么原因。我给D:\wordpress\wp-content\uploads 赋予了EVERYONE所有权限都不行。求助啊

------解决方案--------------------
检查下php.ini这个文件看看是不是图片受了限制,然后就是检查目录权限了。
------解决方案--------------------
提示的错误是:无法创建临时文件,估计是临时文件所在的目录没有写权限,查看临时文件存放的目录,修改目录或者更改目录权限。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template