ID: 45157
User updated by: arno at dotcontent dot net
Reported By: arno at dotcontent dot net
Status: Open
Bug Type: Unknown/Other Function
Operating System: Windows 2000
PHP Version: 4.4.8
New Comment:
BTW to exclude any possibility this is a browser-related timeout, 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.
Previous Comments:
------------------------------------------------------------------------
[2008-06-03 10:44:54] arno at dotcontent dot net
Description:
------------
Problem with page timing out.
I changed max_execution_time from 30 to 600 in php.ini for debug
purposes. This has always worked for me for the past few years. However
after upgrading to 4.4.8 I find my php page times out after approx. 60
seconds. As a result php times out while I'm stepping through the code.
I also tried setting max_execution_time to 6000 with same result. Tested
on localhost in both IE6 and Mozilla 2. Using Apache Release 10324100.
Reproduce code:
---------------
change max_execution_time from 30 to 600 in php.ini and restart server
- phpinfo confirms max_execution_time=600
I used the following to test (adapted from the manual):
<?php
$t=70;
echo "<html><head><title>test timeout</title></head><body>";
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');
echo "</body></html>";
?>
$t=59 works fine, but $t=70 times out.
Expected result:
----------------
Expected to see an output page
Actual result:
--------------
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site
might be experiencing technical difficulties, or you may need to adjust
your browser settings.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45157&edit=1