Re: Problem with script timing out in php 4.4.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could you try setting the max_execution_time with ini_set and
confirming the status of it with ini_get ?

- Waage

2008/6/4 Arno Kuhl <akuhl@xxxxxxxxxxxx>:
> I recently picked up an issue when I upgraded my IDE, where the browser
> window timed out while I was debugging the code. I checked with support and
> was told the problem was with php 4.4.8 which they'd upgraded to, so to
> confirm I installed 4.4.8 and ran a test - and it seems there is a problem
> with 4.4.8.
>
> The test was:
>
> change max_execution_time from 30 to 600 in php.ini - phpinfo confirms
> max_execution_time=600
>
> <?php
> $t=70;
> echo "<h2>Test timeout - sleep for $t seconds</h2>";
> echo "sleeping ".date('h:i:s')."<br />";
> sleep($t);
> echo "stop sleeping ".date('h:i:s');
> ?>
>
> $t=59 works fine, but $t=70 times out.
>
> (Windows 2000, Apache Release 10324100)
>
> I ran the same test successfully with $t=500 seconds on a different machine
> running php 4.3.4, everything else the same as the original test pc.
>
> What bothers me a bit is 4.4.8 has been available since February and
> checking the archives I see no-one else has reported this problem, which
> seems highly unlikely, so I'm wondering if this is specific only to my
> environment somehow. Has anyone else had problems with max_execution_time in
> 4.4.8?
>
> Cheers
> Arno
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux