The Personal Weblog of Akshay Jain
So, I was importing a large database via PHPmyadmin to my server and as expected I got the irritating message
‘Maximum execution time of 300 seconds exceeded’
At first this seems like a Apache or a PHP timeout error, so I opened my httpd.config and php.ini files and increased the values for script timeouts, but unfortunately the error still continued.
The problem arises because PHPMYADMIN overrides the settings of the server and to resolve this error the configuration file to PhpMyAdmin needs to be edited.
So, look into
/var/www/html/phpMyAdmin-2.6.1/config.inc.php (for linux servers )
or
C:\wamp\apps\phpmyadmin2.11.6\config.inc.php (for windows servers)
NOTE: The paths can vary slightly depending on your configuration.
When you have opened that config file, there is a variable called
$cfg['ExecTimeLimit']
Just change this variable to 0 (for unlimited) or to a sufficiently large number.
Enjoy!
I am Akshay Jain a student in Economics and a web enthusiast. Most of my readers would be knowing me by my pseudonym champ_rock/champrock. This is my blog and I know I wont be keeping this updated. For contacting me, please use the contact form!
Please subscribe to the RSS feeds in order to get the latest updates on my blog!
ǝlƃooƃ noʎ ʞɔnɟ
airtel
apple
apple itunes
ascii
benchmark
broadband
browser
confidence motion
converter
ebaumsworld
firefox
fun
galwaysidle
Google
google campus ambassador
google gadget
google trends
google trends hacked
google trends spam
gtalk
hacked
hijack
how to poop at work
idle
iim
iim-i
iim pgp
iim student website
image to ascii
indian government
ipod
itunes
latest browsers
opera
opera functions
politics
ram
ram usage
redirect
swastika
taskmanager
trends hacked
typo
virus Broadband (India) (2)
Code Snippets (6)
Economics (1)
General (16)
Google (3)
Indian Politics (1)
Jainism (1)
Latest Buzz (6)
New Scripts (1)
opera (2)
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Designo
November 13th, 2008 at 1:36 pm
Thanx a lot!
You were the only one providing a “straight” solution”
pkiff
November 28th, 2008 at 5:22 pm
FYI:
http://drupal.org/node/279344#comment-1130077
Maximus
January 20th, 2009 at 2:52 pm
Definitely, loads of other sites have complicated solutions and the solution was a simple one.
Thanks
Props
betweenbrain
January 20th, 2009 at 8:08 pm
Whereas many other solutions fail, this one works. It’s a simple and effective solution. Great for local development servers. Thanks!
S.K
February 21st, 2009 at 10:23 am
Thanks, Man!
Kickass solution! I have been groping for a long while before I stumbled on your blog.
S.K (from Chennai)
Thomas
March 31st, 2009 at 4:01 pm
At least some efficient information about this n@sty*#! problem
Thanks for all
Gepard
April 13th, 2009 at 3:34 pm
THANX!!!!
Jacek
July 31st, 2009 at 5:23 pm
Had same problem, WAMP Server overwrites maximum execution time limit of the php.ini configuration file.
This change fixed my problem.
Thanks You.
Claire
August 5th, 2009 at 1:24 pm
Thanks a lot
Jhonald
March 18th, 2010 at 8:12 pm
Thanks my friend, excelent solution.
Pinaz
May 4th, 2010 at 3:48 pm
I made the change as suggested, i am using XAMPP (Localhost) but still i am getting the error
jarcoder
June 11th, 2010 at 2:51 pm
Thanks from Kazakhstan