LogoLogo
Control PanelHomepage
  • BoostedHost Knowledgebase
  • Table of Contents
  • Getting Started
    • What is Web Hosting?
    • Understanding Web Hosting Terminology
    • How to Choose the Right Hosting Plan
    • How to Purchase a Hosting Plan
  • Account & Billing
    • How to Cancel a Hosting Plan
  • How to Update Your BoostedHost Account Information
  • Hosting
    • Understanding Shared Hosting
    • Frequently Asked Questions about Shared Hosting
    • How to Manage Your Shared Hosting Account
  • WordPress
    • How To Install WordPress on a New Domain
  • How to Fix Maximum Execution Time Exceeded Error in WordPress
  • How to Change Your WordPress Domain/Site URLs (Step by Step Guide)
  • Troubleshooting & Support
    • How to fix ERR_TOO_MANY_REDIRECTS error
  • Advance Guide
    • How to Connect a Domain Name to Your Hosting Account / Update Nameservers
    • How to Access Your cPanel Account
    • How to add an Addon Domain (cPanel Guide)
    • How to Create a Database (cPanel guide)
    • How to Create a backup (cPanel/JetBackup Guide)
    • How to Download any Backups (cPanel/JetBackup Guide)
    • How to Restore the backup in cPanel (JetBackup Guide)
    • Caching
  • Custom Applications
    • Deploying Custom Applications (Laravel, Node.js, Git) on Shared Hosting
Powered by GitBook
LogoLogo

Copyright © 2025 BoostedHost GmbH

On this page

Was this helpful?

Export as PDF

How to Fix Maximum Execution Time Exceeded Error in WordPress

PreviousHow To Install WordPress on a New DomainNextHow to Change Your WordPress Domain/Site URLs (Step by Step Guide)

Last updated 19 days ago

Was this helpful?

When you see an error in WordPress, don’t panic—it’s common and easy to fix. One of those errors is “Maximum Execution Time Exceeded,” which happens when a plugin or theme takes too long to install or update.

Many people fix it using the .htaccess file or a plugin like WP Maximum Execution Time Exceeded, which is great for beginners. But in this guide, we’ll show you how to fix it using the wp-config.php file. You don’t need to be a coding expert — just follow these steps.

🛠 Step-by-Step Guide (Using cPanel)

Step 1: Log into cPanel

  • Login to your cPanel account.

  • Once logged in, look for the File Manager under the Files section.

  • Click on it to open.

Step 2: Find Your Website Files

  • Inside File Manager, open the folder named public_html (this is where your website lives) Or find the root directory of your website if you have multiple domains in cPanel account.

Step 3: Edit the wp-config.php File

  • Find the file called wp-config.php.

  • Right-click on it and choose Edit.

  • A popup may ask you to confirm — click Edit again.

🔔 Important: Before you change anything, make a backup of your website and database to stay safe.

Step 4: Add This Code

  • A new tab will open with the actual code.

  • Scroll down and find the line says! ( /* That's all, stop editing! */): and add this line at the end.

set_time_limit(300);
  • This gives your website more time (300 seconds) to run tasks. You can increase it to 600 if needed, but 300 is usually enough.

Step 5: Save Your Changes

  • Click Save Changes at the top-right.

  • Clear your browser caches, website caches, and also purge your website to apply all the changes instantly.

  • Now try installing or updating the plugin/theme again. If it works — great! You’ve fixed the error!


Other Methods

There are other ways to fix this issue too — like editing the .htaccess or php.ini file — but using wp-config.php is one of the easiest for beginners.

Enjoy!

If you still need further assistance regarding cPanel Login, feel free to contact us via Live Chat, or . Our technical team is always online to provide the best possible support.

Submit a Ticket
cPanel login guide