TipsCow

Fix for Fatal Error Maximum execution time 30 seconds exceeded WordPress

by aditya bajaj on February 6, 2013 | Last Updated: April 19th, 2013


Quick Fix of the PHP Fatal error Maximum execution time 30 seconds exceeded in WordPress. There are three ways. Use either one. Also please backup the files before making changes so that you can revert the same if there are any issues.

Fixing “Maximum execution time 30 seconds exceeded

1. Wp-config.php

set_time_limit(60);

Add this line above “/* That’s all, stop editing! Happy blogging. */” comment.

OR
2. htaccess

php_value max_execution_time 60

OR
3. php.ini

max_execution_time = 30 ;

One thought on “Fix for Fatal Error Maximum execution time 30 seconds exceeded WordPress

  1. Shahzeb says:

    Thank you! This was driving me crazy! I used the config method but this was not working As I was on shared hosting so I needed to create my own php.ini but I was unsure eaziweb helped me If anyone need this eaziweb.blogspot.com/2013/08/increase-max-upload-file-size-in.html

Leave a Reply

Your email address will not be published. Required fields are marked *