I'm trying to run php script from CLI like this:
php -q /var/www/script.php
As i know if you run it from CLI there is no max_execution_time, but if i use functions from required/included files, after 5-10 minutes i have fatal error:
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/include.php on line 10
So max_execution_time does not apply to included files? It is possible to avoid this without adding set_time_limit(0) in every included file?