Windows Server上的PHP权限 [英] Permission for PHP on Windows Server
问题描述
我试图使用imagejpeg()
,但失败了. is_writable()
函数返回false
.因此,我认为问题在于权限.我有Windows服务器,因此chmod()
无法正常工作. Plesk已安装在服务器上,并且我已更改了所有权限以允许,但is_writable()
仍然是false
.该服务器正在运行Windows Server 2008 R2.
I was trying to use imagejpeg()
and it's failed. is_writable()
function returns false
. So, I assume the issue is with permissions. I have a windows server so chmod()
won't work. Plesk is installed on the server and I have changed all the permissions to allow but still is_writable()
is false
. The server is running Windows Server 2008 R2.
我联系了托管公司,他们建议这样做:
I contacted the hosting company and they recommended this:
https://technet.microsoft .com/en-us/library/cc772196%28v = ws.11%29.aspx
有什么帮助吗??
任何建议将不胜感激,我已经为这个问题苦苦挣扎了几天!
Any advice would be appreciated, I have been struggling for days with this issue!
注意:我还将文件夹的虚拟目录"下的所有权限更改为允许".
NOTE: I also went changed all the permissions to "allow" under "virtual directory" for the folder.
推荐答案
在域的托管设置"中检查其他写入/修改权限":
Check "Additional write/modify permissions" in domain's "Hosting Settings":
这篇关于Windows Server上的PHP权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!