Script aborts after 300 seconds, although max_execution_time = 2400 is defined in php.ini

66 Views Asked by At

I have a local XAMPP with PHP 8 installed.

  1. echo ini_get('max_execution_time');
    

    also results the

    2400

    from php.ini.

  2. 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

  3. 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

0

There are 0 best solutions below