• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Fatal error: Maximum execution time of 300 seconds exceeded

D

Data@

Guest
Problem
When importing a sql table in phpMyAdmin i get the following error:

Fatal error: Maximum execution time of 300 seconds exceeded in \Plesk\admin\htdocs\domains\databases\phpMyAdmin\libraries\read_dump.lib.php on line 91

The knowledgebase on this site says you have to change the php.ini, other sites say httpd.conf. I tried both, didn't work. Neither of those files had any entry of '300', so i searched for a ini,conf or php file containing '300' and found that "\Plesk\admin\htdocs\domains\databases\phpMyAdmin\config.inc.php" did.

This file overwrites the default php timeout value.

Solution
Changing the value 300 in 0 (0=unlimited) in config.inc.php, will make it work.

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

I hope this is will be of any use to someone else.
 
Back
Top