There was a problem loading the comments.

How to Fix 'Maximum Execution Time Exceeded' in WordPress

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Quick answer: This error means a PHP script ran longer than the server's max_execution_time limit (often 30 seconds) and was stopped - common during imports, updates, or backups. Fix it by raising the time limit in PHP settings, and address the slow operation itself, such as a large import or an inefficient plugin.

1. Raise the PHP time limit

Increase max_execution_time where your host lets you edit PHP settings:

max_execution_time = 300

In cPanel use the MultiPHP INI Editor; in Plesk use PHP Settings for the domain. You can also add set_time_limit(300); context via a .user.ini or, on Apache, php_value max_execution_time 300 in .htaccess.

2. Address the slow task

A high limit is a workaround, not a cure. If a specific import or plugin routinely times out, break large imports into smaller batches, and review whether a heavy plugin is the real bottleneck.

3. Check server resources

Timeouts also happen when the server is short on memory or CPU. Raising the memory limit and ensuring adequate resources helps long-running tasks complete.

Frequently asked questions

Is a higher time limit safe?
Moderately higher is fine for admin tasks, but very long limits can let a stuck process tie up resources. Fix the underlying slow task where possible.

Why does it happen during backups or imports?
Those process a lot of data at once; batching or a more efficient tool avoids the timeout.

On SoftSys managed WordPress hosting PHP limits are set generously and our team raises them further on request, so routine tasks complete without timing out.


Share via
Did you find this article useful?  

Related Articles

Tags

© Softsys Hosting