#21943 [Opn->Fbk]: fopen('php://stdin') crash, running for more than 15 minutes
| From: | sniper@php.net | Date: | Tue, 11 Feb 2003 00:03:48 +0000 |
| Subject: | #21943 [Opn->Fbk]: fopen('php://stdin') crash, running for more than 15 minutes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32699@lists.php.net to get a copy of this message | ||
ID: 21943
Updated by: sniper@php.net
Reported By: php@jkt.wz.cz
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: winnt 4 sp 6
PHP Version: 4.3.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-01-29 08:23:21] php@jkt.wz.cz
i tried the following script: (stdin.php)
<?php
$data=file('php://stdin');
var_dump($data);
echo 'ok';
?>
request for http://localhost/stdin.php :
no content at all has been sent under winnt (sp6, apache/2.0.43,
php/4.3.0), file 'tst.php' stayed opened for more than 15 minutes (i
have time limit 20 seconds) - (i restarted the server after this
time...) and request was marked as 'W' in apache status (sending
reply).
apache -k restart has no effect (it won't stop any active
conection...), so i had to do
apache -k stop
apache was running, of, course, but the cpu activity raised ver
dramatically when multiple accesses to this script has been made...
i'm not sure whether this is a bug of apache or php, but under mandrake
linux + apache/2.0.43 + php/4.3.0 this works fine...
j
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21943&edit=1