Menu Close

How to increase PHP Time Limit for WordPress sites?

1. Edit your wp-config.php file and enter something like:

max_execution_time = 3000;

2. If you have access to your PHP.ini file, change the line in PHP.ini

set_time_limit(3000);

3. If you don’t have access to PHP.ini try adding this to an .htaccess file:

max_execution 3000

4. If none of the above works then talk to your host.