WordPress on IIS 7.0 and the whole failed to write to disk saga

Posted on 22 July 2007

If you have migrated to Vista and are finding that when you try to upload an image on your local machine you are getting a failed to “write to disk error” then here is how I fixed the problem. I hope it helps

make a blank file called test.php and just put the following code into it

<?php phpinfo(); ?>

Now check to see where your upload_tmp_dir is pointing to. I had the problem of it saying not defined. So I created one in the C:/intepub/wwwroot called uploads and then opened my php.ini file and changed the following line

upload_tmp_dir = “C:\Inetpub\wwwroot\uploads”

*remember to uncomment it

Then apply the permissions to full in the security tab. Since then it has worked fine.

I have since had no problems on my local server uploading images or importing WXR files.

0 Responses

Have Your Say!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>