#48949 [Opn->Bgs]: max_execution_time from php.ini ignored

From: Date: Fri, 17 Jul 2009 12:41:52 +0000
Subject: #48949 [Opn->Bgs]: max_execution_time from php.ini ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-139873@lists.php.net to get a copy of this message
ID: 48949 Updated by: jani@php.net Reported By: giunta dot gaetano at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: vista sp2 PHP Version: 5.3.0 New Comment: Your php.ini isn't loaded. Use phpinfo() output to figure out which one is actually used. No bug here. Previous Comments: ------------------------------------------------------------------------ [2009-07-17 07:32:26] giunta dot gaetano at gmail dot com max_execution_time=300 in php.ini (using apache sapi btw) ------------------------------------------------------------------------ [2009-07-16 22:24:20] pajoye@php.net And what's the value set in php.ini? ------------------------------------------------------------------------ [2009-07-16 22:17:27] giunta dot gaetano at gmail dot com Description: ------------ On windows vista, with apache 2.2.11, php 5.3.0 vc9 threadsafe, the max_execution_time ini parameter is read correctly (as shown by ini_get() and phpinfo()) but never used. After 60 secs, the script times out with the message "Fatal error: Maximum execution time of 60 seconds exceeded". Adding a set_time_limit() or ini_set() call solves the problem. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48949&edit=1

« previous php.bugs (#139873) next »