• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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