move_uploaded_file error on window server 2008 in ISS 7

Hi,

I’m get the error

php, move_uploaded_file() … failed to open stream: Permission denied in C:\inetpub\wwwroot\ in php on windows iis server 2008 iss 7

The Solution is

First go to


a) in windows explorer under tools > folder options
click the view tab
scroll down all the way to "use simple file sharing (recommended)"
uncheck this box

b) find the folder you wish to upload to on your server
c) click properties and then the security tab
d) make sure the appropriate write settings are checked.

you may want to test by setting “everyone” to have full permission….

BEWARE doing this will open up big security holes on your server….

After that the error is solved for me and the file is uploads now. i hope this helps you

Advertisements