Using phpMyAdmin to import large database often triggers the error:”Script timeout passed, if you want to finish import, please resubmit same file and import will resume.” It seems the same error as you execute a time-consuming php file. You know how to extend the execution time of php script by adding the following line in the php file:
set_time_limit(0);
or changing the settings in /etc/php.ini:
max_execution_time = 10000
However both methods do not solve the phpMyAdmin script timeout problem. phpMyAdmin uses its own configuration to control the script execution time. You should change the settings in the config file (config.inc.php) for phpMyAdmin:
$cfg['ExecTimeLimit'] = 0;
But where is the phpMyAdmin configuration file? Typically config.inc.php is put in /etc/phpMyAdmin/. However if you use Sentora, the phpMyAdmin config file is put in
/etc/sentora/configs/phpmyadmin/