WordPress update plugin theme time out problem

When we update themes or plugins for WordPress one major issue is time out problem. When downloading update it’s take time and it’s just time out.

We can solve this by using either using php.ini or adding php settings in any related php file or using htaccess file. Adding settings to php file can be easy if we use custom plugin & add a hook there. But if we add this setting to any core wp php file than that php file might override while update.

So the easy solution is htaccess just add this to your htaccess

<IfModule mod_php5.c>
php_value max_execution_time 60000# adjust this 60000 value to your internet connection
</IfModule>

and now while update time out will not occur. The benefit of this is it’s just plug n play you add htaccess it’s update and you remove  if it’s not needed

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s