Php.ini ve htaccess içinde max_execution_time ve php bildirilen uyarı mesajıyla reportet daha, kesinlikle daha yüksek olduğundan, bu sorun, bana fındık sürücüler.
<?php
echo "Max execution time: ".ini_get("max_execution_time")."<br />";
while(true)
{
sleep(1);
}
?>
Çıktı:
Maksimum yürütme süresi: 240
Ölümcül hata: C aşıldı 60 saniye Maksimum yürütme zamanı: \ xampp \ htdocs \ timetest.php 5. satırdaki
Answer
Yes, it seems to be a bug: max_input_time overwrites max_execution_time!
htaccess:
php_value max_execution_time 240
php_value max_input_time 111
timetest.php:
<?php
echo "Max execution time: ".ini_get("max_execution_time")."<br />";
echo "Max input time: ".ini_get("max_input_time")."<br />";
while(true)
{
sleep(1);
}
?>
Çıkış (proof):
Maksimum yürütme süresi: 240
Maksimum giriş zamanı: 111
Ölümcül hata: C aşıldı 111 saniye Maksimum yürütme zamanı: \ xampp \ htdocs \ timetest.php hattı 6
Yardımın için teşekkürler!