How to Solve php Fetal Error Maximum execution time of 300 seconds exceed in PhpmyAdmin?

Magento Blog

How to Solve Maximum execution time of 300 seconds exceed in Php my Admin?

Hi to solve PHP Fetal Error Maximum execution time of 300 seconds exceed in PhpmyAdmin while your install Magento or WordPress or Joomla or other Huge Databases you will face this PHP Fetal error to avoid this in your localhost change change below things.

WordPress Blog

WordPress Blog

To change the modification please follow bellow all steps.

In your Using For Xampp version on Windows Just do this by following Root Path in your System.

Add this line to xampp\phpmyadmin\config.inc.php

Open this file in your favorite editot find this $cfg[‘ExecTimeLimit’]
if not thers just add

$cfg[‘ExecTimeLimit’] = 6000;
once done save it.
Now open your php.ini file

Root: C:\wamp\bin\apache\apache2.2.6\bin\php.ini

And Change to xampp\php\php.ini
Find:

post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:

post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

and open my.ini file

And change xampp\mysql\bin\my.ini
max_allowed_packet = 200M
Once done all these changes just save and Restart all services.

Done.

 

You must be logged in to post a comment Login

Leave a Reply