Fatal error: Maximum execution time of 300 seconds exceeded PhpMyAdmin Xampp

ERROR MESSAGE:

Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampplite\phpMyAdmin\libraries\dbi\mysqli.dbi.lib.php on line 176

 

Look for this line and adjust as required:
$cfg['ExecTimeLimit'] = 300; // maximum execution time in seconds (0 for no limit)

If your config-inc.php file is small and missing the above line or missing altogether then the file config.default.php in the .\xampp\phpMyAdmin\libraries folder is used.

/**
* maximum execution time in seconds (0 for no limit)
*
* @global integer $cfg['ExecTimeLimit']
*/
$cfg['ExecTimeLimit'] = 300;

Copy this file in to the phpMyAdmin main folder and rename it config-inc.php or copy the contents into the existing config-inc.php file and then do your editing in this new file not in the config-default.php file – this procedure makes it easier, as now all phpMyAdmin configs will be in the one place not in 2 locations with one being editable (config-inc.php) and the other not editable (config-default.php).

written by Sharley

Advertisement

3 responses to this post.

  1. Posted by Haraldinho on December 28, 2010 at 11:24 pm

    I use Xampp 1.7.3. In my case, the file name should not be config-inc.php, but config.inc.php. Works perfectly then!

    Reply

  2. Thank you for your suggestion. That is the only one that worked in my case!

    Follow me on twitter: @cypherinfo I realize free professional database user interface or web site on free web space for my followers.

    Reply

  3. thanks the above solutions works for me.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 33 other followers