How to set Maximum execution time of each script in PHP?
-
max_exec_time
-
execution_time
-
max_execution_time
-
none of the above
C
Correct answer
Explanation
PHP uses max_execution_time in php.ini to set the maximum time a script can run. This prevents runaway scripts from consuming server resources. Option C is the correct configuration directive as documented in PHP's runtime configuration.