• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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