I am running a php script from terminal it stops execution in 5 minutes.
max_execution_time value in ini is 600.
And I have also added set_time_limit(0) at the top of the script
Then also it ends in 5 minutes. The same happens when running from browser also
查看max_execution_time和set_time_limit(0)之后是否用phpinfo()覆盖值
试试这个,检查是否有任何地方使您覆盖
ini_set('max_execution_time', 300);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.