How to increase your PHP Max Execution Time in case of a timeout error
Method 1: Adjust the Max Execution Time in php.ini
If you can access your php.ini file, locate the max_execution_time parameter and increase its value to extend the time PHP scripts are allowed to run. For instance, you might set it to 300 seconds:
max_execution_time = 300
Method 2: Adjust Max Execution Time in .htaccess
Locate the .htaccess file in your home directory. If it’s not visible, check your hidden files. Before making any changes, ensure you back up your .htaccess file. Then, add the following line to it:
php_value max_execution_time 300
Method 3: Adjust the Max Execution Time in wp-config.php
Locate the wp-config.php file in your home directory. This file is the primary configuration file for your WordPress site. To increase the max execution time, add the following code to your wp-config.php:
set_time_limit(300);