max_execution_time = 30

PHP programming
admin
Site Admin
Posts:7390
Joined:Wed Mar 13, 2019 6:42 am
Contact:
max_execution_time = 30

Post by admin » Fri Mar 15, 2019 8:05 pm

max_execution_time = 30
The function set_time_limit() won.t work in safe mode, so this is the main way to make a
script time out in safe mode. In Windows, you have to abort based on maximum memory
consumed rather than time. You can also use the Apache timeout setting to timeout if you
use Apache, but that will apply to non-PHP files on the site too.

Post Reply