January 10, 2020
How to increase Maximum Execution Time in WordPress website
You may receive a message such as “Maximum execution time of 30 seconds exceeded” or “Maximum execution time of 60 seconds exceeded”. This means that it is taking to longer for a process to complete and it is timing out. There are a number of ways to fix this error.
Method 1: Open wp-config.php and Add the following to wp-config.php
set_time_limit(300);
Method 2: Open .htaccess and add below line,
Make sure you back up .htaccess before you edit it.
php_value max_execution_time 300
Method 3: Go to php.ini and add the following to php.ini:
max_execution_time = 300