Jump to content

Cannot upload images when running IIS


Recommended Posts

I thought I would share something I discovered, when trying to run Prestashop on IIS.

The problem I had was that I could NOT upload images. When I tried, everything said that the image had uploaded successfully, but there was no image - in any folder. After trying many things suggested on this forum, (mainly changing permissions) I found the answer.

Create a new folder (for example) C:\PHPTemp.
Set IUSR permissions on the folder to R/W.
Open php.ini and change the location of the temp folder that PHP uses, to the folder created earlier.

Hey Presto (should that be Presta!)! Images now upload - and display - perfectly.

I hope this is of use to those of us who use Windows servers running IIS.

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...