我不能更改属性max_execution_time
的值。在php.ini
中,它被设置为max_execution_time = 13000
。也在.htaccess
php_flag max_execution_time 130000
中。在phpinfo.php
中
ini_set('max_execution_time','1300');
set_time_limit(13000);
phpinfo();?>
我尝试了所有的方法,但都没有改变它的值。在apache
中使用php-fpm 7.0
发布于 2018-02-20 10:45:36
set_time_limit(0);
您可以使用它来防止脚本超时
https://stackoverflow.com/questions/48883188
复制相似问题