Corbin Dunn
Redwood Monkey

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

General, Other Stuff

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: http://wiki.dreamhost.com/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!

Previous Post
Portable solar panels
Next Post
Photography: House in Nepal

Leave a Reply

avatar
500
  Subscribe  
Notify of

(c) 2008-2018 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

58 queries. 0.359 seconds.

Log in