Reputation: 1
I have a PHP website running on IIS with plesk. Everything works fine except I can't grant write access for php scripts.
All permissions on folders for the web user (SDadmin******/IUSR_user****) are set to on for writing.
Launching a basic testing script that creates both a folder and a file I get:
PHP Warning: file_put_contents(test_file.txt): failed to open stream: Permission denied in D:\Inetpub\vhosts\xxxxxxx.xx\httpdocs\in.php on line 4
PHP Warning: mkdir(): Permission denied in D:\Inetpub\vhosts\xxxxxxx.xx\httpdocs\in.php on line 11
I already spent a whole day of googling, reading a bunch of topics and trying almost every possible tip found on internet but with no luck.
Any suggestions?
Thanks
Upvotes: 0
Views: 2921
Reputation: 10312
Has you domain "Additional write/modify permissions" checked?
Upvotes: 2