October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

PHP Time Limit in WordPress: How to Fix “Maximum Execution Time Exceeded”

The WordPress timeout error means a PHP script exceeded its configured allowance. Check Site Health, work with your host if needed, and investigate the task that is running too long.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The “maximum execution time exceeded” error means a PHP script ran longer than the execution-time allowance configured for your server. Check the server details in WordPress first, then ask your host to adjust the limit if you cannot change it yourself. A higher limit may let a legitimate long-running task finish, but it can also mask a slow plugin, faulty code, or another problem.

What the PHP time-limit error means

PHP’s max_execution_time setting limits how long a script may run. The PHP manual documents a default of 30 seconds when no different value is defined; your site may use another setting, and the error wording can vary by server. This is a PHP default, not a measurement of how long WordPress tasks usually take. PHP’s set_time_limit manual explains the setting.

As an Amazon Associate I earn from qualifying purchases.

A timeout can happen during an import, image operation, plugin or theme task, or custom code. The message tells you that a request exceeded its configured allowance; by itself, it does not identify which component caused the delay.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check the server details in WordPress

  1. In the WordPress dashboard, go to Tools → Site Health → Info.
  2. Open the Server section and review the PHP and server information shown there.
  3. Use those details when contacting your hosting provider, especially if the setting is not visible or you cannot edit it.

Site Health reports information; it does not provide a control for changing the PHP time limit. See the WordPress Site Health screen documentation.

How to request or change the limit

PHP settings are commonly managed in php.ini. Some environments also allow configuration through .htaccess or .user.ini, but the available method depends on how PHP is run and what your host permits. Shared and managed hosting may restrict changes, so do not assume that editing a particular file—or adding a setting to wp-config.php—will work.

  1. Check your host’s documentation or control panel for its supported PHP configuration method and whether it lets you set max_execution_time.
  2. If you cannot find a supported setting, contact hosting support. Describe the task that times out and ask whether they can raise the execution limit for it.
  3. Ask whether a web-server timeout is also in effect. If that timeout is shorter, the server may end the request before PHP reaches its own limit.

WordPress’s PHP Optimization guidance recommends contacting hosting support to discuss settings that need to be modified: PHP Optimization. PHP and web-server timeouts need to be considered together; extending one does not help if another ends the request first. Letting slow requests run longer can also add load to the server.

Find the operation causing the timeout

Increasing the limit is an accommodation for work that legitimately needs more time, not a diagnosis. Note the exact action that triggers the error and check the relevant PHP or server error logs. Look for whether the failure coincides with a plugin, theme, import, image operation, or custom task. If logs point to a particular component, investigate that component rather than relying only on a higher limit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WordPress documents WP_DEBUG_LOG and WP_DEBUG_DISPLAY for debugging. Use debugging on a local or staging site when possible, and avoid displaying error details publicly on a live site. Logs can contain sensitive information, so restrict access and handle them carefully. See Debugging in WordPress.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the fatal error blocks access to the site

WordPress Recovery Mode can help with certain fatal PHP errors on regular page loads. It can pause a faulty plugin or theme for the administrator’s recovery session and show notices that help identify the component. Its automatic activation does not cover CRON or background tasks, so a failure limited to those tasks may need investigation through logs and hosting support instead. Read the WordPress Recovery Mode documentation.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.