//设置页面不要超时

 ini_set('max_execution_time', 300);

原文地址:https://www.cnblogs.com/hgj123/p/4535240.html