I have a local XAMPP with PHP 8 installed.
-
echo ini_get('max_execution_time');also results the
2400
from
php.ini. -
echo "Max execution time: ".ini_get("max_execution_time")."<br />"; echo "Max input time: ".ini_get("max_input_time")."<br />";`Max execution time: 2400
Max input time: 60 -
ini_set('MAX_EXECUTION_TIME', '-1');no change:
Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\htdocs..\inc\datenbank.php on line xx