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

One comment on “move_uploaded_file error on window server 2008 in ISS 7

  1. Pingback: Tweets that mention move_uploaded_file error on window server 2008 in ISS 7 « karuppasamy -- Topsy.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s