原文链接:http://blog.csdn.net/heiyeshuwu/article/details/7841366 我用到的: 在 php.ini 中,有一个参数 max_execution_time 可以设置 PHP 脚本的最大执行时间,默认的是30,即30秒,你可以修改为任意时间。