Answer the question
In order to leave comments, you need to log in
How to give permission to write a php file?
Hello! Previously, the application worked on apache, then I had to transfer it to IIS, the file loader fell off, the fact is that it was denied access. PHP logs this:
[17-Mar-2015 10:02:14 Asia/Yekaterinburg] PHP Warning: PHP Startup: in Unknown on line 0
[17-Mar-2015 10:02:14 Asia/Yekaterinburg] PHP Warning: PHP Startup: in Unknown on line 0
[17-Mar-2015 10:02:14 Asia/Yekaterinburg] PHP Warning: PHP Startup: p in Unknown on line 0
[17-Mar-2015 10:02:14 Asia/Yekaterinburg] PHP Warning: PHP Startup: p in Unknown on line 0
[17-Mar-2015 10:02:35 Asia/Yekaterinburg] PHP Warning: move_uploaded_file(upload_files_test/r0f8xge1jbp104jt5lgkalbul7l3q9lx4khnzs9agn4d67v90a.docx): failed to open stream: Permission denied in C:\inetpub\wwwroot\sms\files_add.php on line 136
[17-Mar-2015 10:02:35 Asia/Yekaterinburg] PHP Warning: move_uploaded_file(): Unable to move 'C:\php\upload_tmp\phpAD2.tmp' to 'upload_files_test/r0f8xge1jbp104jt5lgkalbul7l3q9lx4khnzs9agn4d67v90a.docx' in C:\inetpub\wwwroot\sms\files_add.php on line 136
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question