Are you going to update your wordpress to new version of WordPress? or Are you willing to update your WordPress Plugins else Going to upload some big amount of files? Then you may get this ‘Fatal error: Maximum execution time of 30 seconds exceeded’ Error.
This PHP Fatal Error is not only occur with WordPress. It’s may occur with Drupal, Magento, Joomla, CakePHP, Codeigniter. And not only in localhost(XAMPP), may be in WAMP, GoDaddy, Cpanel. So, just know the important of This Error.
Solution: 1
Using php.ini file
Open the php.ini file and add following code into that.
max_execution_time = 120;
Solution: 2
Using .htaccess file
Just open the .htaccess file and add below line,
php_value max_execution_time 120
Solution: 3
Using Wp-config.php file
Open the Wp-config.php file and add following line into that file.
set_time_limit(60);
Important Notes:
1) If using php.ini method, check whether
max_execution_time
is already occur. If there, just edit the seconds.2) Are you going to edit .htaccess, should take backup of previous .htaccess file.
3) In Wp-config.php method, just add
/* That’s all, stop editing! Happy blogging. */
comment line. Sometimes that may occur.4) Default time is 30 seconds. You can change as your wish.
Fatal error: Maximum execution time of 30 seconds exceeded
Latest posts by KarSho (see all)
- Step to Install JOOMLA in WAMP Localhost - March 30, 2020
- ‘Your Projects’ Links Not working in WAMP Server - March 29, 2020