• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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