Permission for PHP on Windows Server

瘦欲@ 提交于 2019-12-11 05:59:00

问题


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

Would this help...?

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.


回答1:


Check "Additional write/modify permissions" in domain's "Hosting Settings":



来源:https://stackoverflow.com/questions/44302475/permission-for-php-on-windows-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!