V
V
Vanes Ri_Lax2015-03-17 08:32:33
PHP
Vanes Ri_Lax, 2015-03-17 08:32:33

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

How to give PHP access?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Immortal_pony, 2015-03-17
@vanesxl

1NIWR.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question