HTTP error when uploading images to WordPress on MAMP/XAMP

If you’re not using WordPress on MAMP/XAMP, you should look at this article instead:

13 (other) ways to fix HTTP error on WordPress

When you get HTTP error when uploading images to WordPress on your local MAMP/XAMP, it takes a while to understand that you need to look at the Apache access log.

This will reveal that Apache has been quietly restarting over and over like this each time you got your HTTP error:

Copy to Clipboard

This problem often happens in Windows because of smaller Apache’s default stack size. And it usually happens when working with php code that allocates a lot of stacks. (Thank you to codexpedia!)

To solve this issue, add the following at the end of apache config file, httpd.conf, and then restart Apache.

Copy to Clipboard
By |2019-01-03T08:09:23+00:00January 3rd, 2019|WordPress|0 Comments

About the Author:

Melissa Freeman is a freelance WordPress developer in the Lower Blue Mountains, west of Sydney.

Leave A Comment