Increase WordPress file execution time

If you’re getting the “Fatal error: Maximum execution time of 30 seconds exceeded in…” error in WordPress then, you need to increase the WordPress execution time limit.

How to increase the execution time in WordPress:

  1. Connect to your website’s server via an FTP program.
  2. Download the file ‘public_html’ > ‘wp-config.php’.
  3. Use a text editor or code editor to add this line of code “set_time_limit(400);” just before where it says “That’s all, stop editing! Happy blogging.”. Save the changes.
  4. Use the FTP program to upload and replace ‘wp-config.php’ with the edited version.

The execution time limit error should be gone.

Published by

angelo bonavera

Hi I'm a web developer and I run a web hosting company called 2slick.com.

Leave a comment