Maximum execution time of 30 seconds exceeded 字面意思:最大執行時間超過30秒
疑惑的是,我設置了超時時間爲啥不起作用呢,
是哪個裏設置了30秒了,於是找了找,沒找到
後來知道30是默認參數
其實,判斷自己的超時時間是否設置了,可以用這個
打印出來看一下
ini_get("max_execution_time");
總結:
設置執行時間:set_time_limit(秒數);
查看設置的執行時間: ini_get("max_execution_time");