Fatal error: Maximum execution time of 300 seconds|phpmyadmin

来源:互联网 发布:淘宝加仑炎龙 编辑:程序博客网 时间:2024/06/10 02:19
PHP中超时提示Fatal error: Maximum execution time of 300 seconds exceede  
 
出现问题,因为PHPMyAdmin中覆盖服务器的设置,要解决这个错误的配置文件到phpMyAdmin需要进行编辑。
So, look into因此,研究
/var/www/html/phpMyAdmin-2.6.1/config.inc.php (for linux servers ) / var/www/html/phpMyAdmin-2.6.1/config.inc.php(Linux服务器)
or或
C:\wamp\apps\phpmyadmin2.11.6\config.inc.php (for windows servers) C:\ WAMP \ APPS \ phpmyadmin2.11.6 \ config.inc.php文件(Windows服务器)
NOTE: The paths can vary slightly depending on your configuration.注意:路径可以根据您的配置略有不同。
When you have opened that config file, there is a variable called当你已经打开,配置文件中,有一个变量叫
$cfg['ExecTimeLimit'] $ CFG ['ExecTimeLimit“]
Just change this variable to 0 (for unlimited) or to a sufficiently large number.只要改变这个变量为0(无限)或到一个足够大的的数目。

phpmyadmin\libraries\config.default.php