有些文件必须上传到系统。大多是5-10MB左右的JPG文件。然而,用户通常有一个非常慢的上传速度,所以它超过了max_execution_time()大多数时间。
我没有权限修改max_execution_time()
在这个案子上我能做些什么吗?尝试使用ini_set()
:
$max_execution_time = 1000; // or whatever value you need
ini_set('max_execution_time', $max_execution_time);