How to fix “Maximum execution time of 30 seconds exceeded” Error While Updating WordPress in Localhost?

Must Read

Four Things You Most Likely Didn’t Know About Guest Post Service

Guest Posting is a great way to raise awareness and build links. However, before starting a guest...

How Does Blogger Outreach Help Your Brand Grow?

Bloggers are eager to promote their content and engage their readers, so building relationships with them are...

How To Get Your Startup Noticed

Being an entrepreneur is always a learning experience. That's because the rules are constantly changing. The change...
Shrinivas
Hi, this is +Shrinivas. I am a freelance web developer and part time blogger having skills in WordPress, HTML/CSS, jQuery, PHP and CodeIgniter.

Localhost (127.0.0.1) is like a playground for developers, it is a best place to create and test the WordPress themes as well as plugins. But it is an important task to update the localhost WordPress to the most recent version to ensure the compatibility of your WordPress themes and plugins.

While updating WordPress in localhost you might have faced an error such as “Fatal error: Maximum execution time of 30 seconds exceeded” which interrupts the wordpress update process. Well.. This error occurs because your PHP setting restricts the downloading of latest wordpress files after 30 seconds and outputs the error message. Here is how to fix this issue.

Also read:

How to fix “Maximum execution time of 30 seconds exceeded” Error While Updating WordPress?

The solution is simple and hardly takes around minutes to fix the error. Just follow the instructions below-

  1. Go to xampp > htdocs > [your wordpress folder]
  2. Open “wp-admin” folder and then open update-core.php with notepad or notepad++
  3. Copy the line of code below
    ini_set('max_execution_time', 300); //300 seconds = 5 minutes
  4. Paste it after the comment area in update-core.php file and save itlocalhost wordpress update
  5. Now login to your localhost wordpress and update the WordPress
- Advertisement -

Latest News

Four Things You Most Likely Didn’t Know About Guest Post Service

Guest Posting is a great way to raise awareness and build links. However, before starting a guest...

How Does Blogger Outreach Help Your Brand Grow?

Bloggers are eager to promote their content and engage their readers, so building relationships with them are essential to growing your brand....

How To Get Your Startup Noticed

Being an entrepreneur is always a learning experience. That's because the rules are constantly changing. The change happens so subtly that you...

The Benefits of Treemapping for Data Analysis

Treemapping is a great tool for data analysis because it allows you to see the big picture and the details at the...

Tips for driving more traffic to your engineering blog

Over the last two decades, blogging has transformed from being a somewhat hobbyist pursuit to a fully-fledged sector of the internet that...

More Articles Like This

- Advertisement -