修改两个文件: 1. 修改PHP.ini 下列项目的值: max_execution_time = 300 ; Maximum execution time of each script, in seconds (note: default was 30) memory_limit = 20M ; Maximum amount of memory a script may consume (note: default was 8M) upload_max_filesize = 20M (note: default was 2M)
2. 修改PHPMyAdmin的设置文件config.inc.php中的下面项目的值: $cfg['ExecTimeLimit'] = 0; // maximum execution time in seconds (0 for no limit) (note: 300 was default)