From:             arno at dotcontent dot net
Operating system: Windows 2000
PHP version:      4.4.8
PHP Bug Type:     Unknown/Other Function
Bug description:  Php runtime timeout

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 bug report at http://bugs.php.net/?id=45157&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45157&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45157&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45157&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45157&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45157&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45157&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45157&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45157&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45157&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45157&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45157&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45157&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45157&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45157&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45157&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45157&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45157&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45157&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45157&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45157&r=mysqlcfg

Reply via email to