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
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

As an Amazon Associate I earn from qualifying purchases.

(c) 2008-2021 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

65 queries. 0.394 seconds.

Log in