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!

Tags:


Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

Subscribe to new posts:

You'll get an email whenever a I publish a new post to my blog and nothing more. -- Corbin

As an Amazon Associate I earn from qualifying purchases.

(c) 2008-2024 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

69 queries. 0.229 seconds.

Log in