Question

Wordpress uploading image hangs

I’ve just set up LEMP on a new droplet following some tutorials from DO. After that I have set up a wordpress, everything works fine except for image (media) uploading. The upload page just hangs for several minutes and ends up throwing this:

Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.

I’ve tried changing permission to both 755 and even 777 but still not working, any ideas ?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You may want to check max execution time as well and also try uploading a very small image say 1kb just to minimize variables. <br> <br>If a 1kb fails then you know its not a file size limit or execution problem but instead something else.

Thanks @Olaf that crosses my mind too. @kamal hmm I don’t think so because the image is just ~100k.

This probably means that the image you are uploading is larger than PHP’s maximum upload size. http://css-tricks.com/snippets/php/increase-maximum-php-upload-size/