During update or installing themes or plugin in WordPress we face this problem if the time limit set very low from PHP.INI file. But there are few ways to increase this execution time for an initiated process. You may can increase that by adding a line in wp-config.php or HTACCESS or php.ini file hosted on your web server. There is no need to make all three changes as any one of these works fine.
Meaning that, it is up to your convenience to choose any one of these three ways to increase the set maximum execution time for your server. For WordPress, it is much easier to do that by changing Wp-config.php file which is available in the root of the installation.
1. Code in wp-config.php
Put this below code at the top of the file:
set_time_limit(300);
2. In .htaccess file
put his code in your .htaccess file at the top:
php_value max_execution_time 300
3. In you “php.ini” file
This is the most accurate way if you can find your php.ini file in your server. When you open this file through notepad, search (CTRL+F5) and find “max_execution_time” (without quotes) and replace the value to your suitable time. Make 300 seconds which goes to 300/60= 5 minutes
max_execution_time = 300 ;
Hope out of these solution you can find your way to make it out. Still if you face any trouble please make a comment here.
Thanks.
This post has already been read 6097 times!
What is Lead Capture: In general sense lead capture designates a process or way of…
Introduction Unlimited Modal POPUPS on MouseClick: Everyone knows about popup during site visits and most…
Brief about Pregnancy Calculator : This WordPress Pregnancy Calculator plugin allows users to display an…
Introduction About this Service Plugin: This Visual Composer Service Plugin works as an addon to…
Introduction of Dynamic Query String : This plugin allows user to set dynamic query string…
There is an occasional bug for iPhone and iPad even they are designed as well and…