php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21943 fopen('php://stdin') crash, running for more than 15 minutes
Submitted: 2003-01-29 08:23 UTC Modified: 2003-02-20 08:04 UTC
From: php at jkt dot wz dot cz Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.3.0 OS: winnt 4 sp 6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at jkt dot wz dot cz
New email:
PHP Version: OS:

 

 [2003-01-29 08:23 UTC] php at jkt dot wz dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-20 08:04 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 09:01:26 2024 UTC