|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8215 passthru() orphans processes if aborted
Submitted: 2000-12-12 17:19 UTC Modified: 2001-01-20 07:25 UTC
From: dig at cynosure dot com Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.3pl1 OS: RH Linux kernel 2.2.14
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
22 + 36 = ?
Subscribe to this entry?

 [2000-12-12 17:19 UTC] dig at cynosure dot com
I have a script that sends large files using:

passthru("cat $filename");

With 4.0.3pl1, if a user aborts the download, the cat process becomes orphaned and cannot be killed.  I just recently upgraded from 4.0RC1 and did not experience this problem until after I upgraded.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-15 08:59 UTC]
this should be fixed. can you confirm this?
 [2001-01-18 17:50 UTC] dig at cynosure dot com
Checked with 4.0.4pl1 -- still buggy.
 [2001-01-20 07:25 UTC]
it's already fixed in cvs. 

you should be able to replace ext/stadard/exec with the CVS version from

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 23:01:29 2024 UTC