![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
'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? |
|
#2
|
||||
|
||||
|
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
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 | 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 |