I am facing that error while installing Jet pack plugin on my WordPress localhost site. i have search on this site many answer but that not fulfill my requirement
6 comments
Comments are closed.
I am facing that error while installing Jet pack plugin on my WordPress localhost site. i have search on this site many answer but that not fulfill my requirement
Comments are closed.
Please
[XAMPP Installation Directory]phpphp.ini
(e.g.C:xamppphpphp.ini
)php.ini
in Notepad or any Text editormax_execution_time
andmax_execution_time = 90
)If there will still be the same error after that, try to increase the value for the
max_execution_time
further more.@Raphael your solution does work. I encountered the same problem and solved it by increasing the maximum execution time to 180. There is an easier way to do it though:
Open the Xampp control panel
Click on ‘config’ behind ‘Apache’
Select ‘PHP (php.ini)’ from the dropdown -> A file should now open in your text editor
Press ctrl+f and search for ‘max_execution_time’, you should fine a
line which only says
max_execution_time=30
Change 30 to a bigger number (180 worked for me), like this:
max_execution_time=180
Save the file
‘Stop’ Apache server
Close Xampp
Restart Xampp
‘Start’ Apache server
Update WordPress from the Admin dashboard
Enjoy 😉
I solved this issue to update
.htaccess
file inside your workspace (likeC:xampphtdocsNayan.htaccess
in my case).If the error occurs again, you can maximize the value from
300
to600
.If you are simply testing a local dev version of WordPress as I was an hitting timeouts when WordPress tries to update itself you can always disable updates for your local version like so: https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/
Don’t do this for a production site!
Find file:
php.ini
.max_execution_time
and increase the value of it as you requiredIf you want modify the limit for a single script, you may try to change that limit at runtime: