Re: [PHP4BETA] Timeout problem

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] Timeout problem
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7281@lists.php.net to get a copy of this message
> As far as I can tell, we never call > php_set_timeout(PG(max_execution_time)) on a request startup. If I put an > explicit set_time_limit() call in my script it times out fine, but the > default timeout is never applied. I figure just tossing this into > php_request_start() should do the trick assuming we can do a > PLS_FETCH() at this point. Never mind, I read through the PHP_INI stuff and figured out that the php_set_timeout() function is actually being called (twice actually). But something must be clearing the timeout afterwards. If I hardcode a php_set_timeout(5) in the php_request_startup() or php_module_startup() function it works fine. -Rasmus

« previous php.version4 (#7281) next »