Corbin's Treehouse - Corbin Dunn, Santa Cruz, CA
Plug Bug

Downloading WordPress Content – “Maximum execution time of 30 seconds” error

I occasionally want to download all my blog posts from WordPress. This is easy to do in the web config – go to Tools -> Export and “Download Export File”.

Screen Shot 2015 05 09 at 6 41 16 AM

The download would max out at about 8 MB and just stop, probably because I have a relatively slow connection at home. I’d get a fatal error at the end of the file:

Fatal error:  Maximum execution time of 30 seconds exceeded in... on line ...

To fix this, I need to change the “max_execution_time=30”  to something higher (like 500), and then lower it back down to make sure the server doesn’t do something bad (timeouts are good for general blog work!).

I use dreamhost, and here is how to set the value in the PHP.ini:

Note that the best way to find what PHP you are running is to login and do a “ps aux” to see what PHP processes are actually running. My dream host page says I was running 5.4, but apparently I’m stuck on 5.3!

(c) 2008-2017 Corbin Dunn

Corbin's Treehouse is powered by WordPress. Made on a Mac.

Subscribe to RSS feeds for entries and comments.

35 queries. 0.405 seconds.