前端php程序执行超时的几种解决办法 云博小周宇2024年5月5日2023年8月18日1 Min Read set_time_limit(0);//不限制程序执行时间 ini_set(‘max_execution_time‘, ‘0‘);//这种也可以都是直接插入代码前面就可以生效的。