DirectAdmin Forums

Go Back   DirectAdmin Forums > Technical Discussion > MySQL / PHP

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2005, 08:40 AM
hendrix74 hendrix74 is offline
Verified User
 
Join Date: Apr 2005
Posts: 35
'Maximum execution time of 300 seconds exceeded' when uploading backup in phpMyAdmin

I've tried to upload a MySQL backup (.sql.gz format, 450kb) through phpMyAdmin. I've tried both phpMyAdmin provided with DA as well as another copy I've installed myself.

I keep getting the error message "Maximum execution time of 300 seconds exceeded".

I don't know why the maximum execution time is set to 300 seconds. I've set "max_execution_time" to 3600 in /usr/local/lib/php.ini and also set "Timeout" to 3600 in /etc/httpd/conf/httpd.conf. The server has even been rebooted since so no need to restart httpd.

When I look at phpinfo() result, it does say that max_execution_time = 3600.

Any ideas?
Reply With Quote
  #2  
Old 04-14-2005, 06:58 PM
jmstacey's Avatar
jmstacey jmstacey is offline
Verified User
 
Join Date: Feb 2004
Location: Colorado
Posts: 4,111
The 300 second timeout is Apache's
You can modify that in /etc/httpd/conf/httpd.conf

Just out of curiosity, are you on dialup? Or why is it taking so long for you to upload a 1/2mb file?
__________________
Just do what it takes to make it happen
Reply With Quote
  #3  
Old 04-16-2005, 04:48 AM
hendrix74 hendrix74 is offline
Verified User
 
Join Date: Apr 2005
Posts: 35
Hi,

No I am not on dialup, I'm on cable.

Which parameter do I have to set in httpd.conf?

I've already set Timeout to 3600. I have found no parameters set to 300.

Regards,
Stйphane Brault
Reply With Quote
  #4  
Old 04-16-2005, 05:41 AM
hendrix74 hendrix74 is offline
Verified User
 
Join Date: Apr 2005
Posts: 35
I've found the solution!

Yeah!

Found the solution.

Have a look in /var/www/html/phpMyAdmin-2.6.1/config.inc.php
[this might differ from one phpMyAdmin version to another]

There's a var called $cfg['ExecTimeLimit'] which was set to 300 and overided php.ini.

Hope this will be useful to someone else.

I've set it to 3600 but be careful with this
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Borek hack on server Rick L. General Technical Discussion & Troubleshooting 21 04-17-2009 12:42 PM
Maximum execution time exceeded rmday System-Level Technical Discussion 1 05-31-2006 08:38 AM
Spamassassin & MailScanner americanintel E-Mail 16 08-25-2005 01:37 AM
Errors in daily report RosT DirectAdmin General Discussion 1 07-30-2005 01:29 PM
System backup problems DJohnAnderson Admin-Level Difficulties 6 03-09-2005 09:05 AM


All times are GMT -7. The time now is 07:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
DirectAdmin © 2007 JBMC Software