Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIS+PHP环境下,wordpress上传图片出现权限错误? #6

Closed
hliblack opened this issue Sep 10, 2019 · 1 comment
Closed

IIS+PHP环境下,wordpress上传图片出现权限错误? #6

hliblack opened this issue Sep 10, 2019 · 1 comment

Comments

@hliblack
Copy link
Contributor

No description provided.

@hliblack
Copy link
Contributor Author

问题原因,上传文件时,PHP会将上传的文件放在Temp文件夹内,再由wordpress传到网站根目录下,由于Temp文件夹没有IUSER和IIS的权限,所以导致该问题出现。

解决方法:将php.ini文件中规定的Temp文件夹添加IUSER和IIS的权限即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant