|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22414 passthru not working anymore
Submitted: 2003-02-25 05:18 UTC Modified: 2003-02-25 10:22 UTC
From: j dot lammerts at chello dot nl Assigned: iliaa (profile)
Status: Closed Package: Output Control
PHP Version: 4CVS-2003-02-25 (stable) OS: AIX 4.3.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: j dot lammerts at chello dot nl
New email:
PHP Version: OS:


 [2003-02-25 05:18 UTC] j dot lammerts at chello dot nl
The PHP function passthru works without errors in our production environment (PHP4.0.6).

Passthru in the latest CVS produces no output at all. Also, no errors or notices are seen in the error_log.

Is this a known problem ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-25 05:35 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

Please supply a reproducing script.
Are you using PHP_4_3 CVS branch or php5 ?
 [2003-02-25 05:51 UTC] j dot lammerts at chello dot nl
I'm using the PHP_4_3 CVS (right now php4-STABLE-200302251030).

Something as simple as this :
passthru('echo "Hello"');

produces no output (and no errors).
No other combinations of single and double quotes give different results..
 [2003-02-25 10:22 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

 [2003-05-27 15:43 UTC] norbert dot weisz at hp dot com
I've got similar on Redhat9.0 when trying to compile PHP-4.3.2RC4:

Bug #22414: passthru() does not read data correctly [ext/standard/tests/file/bug22414.phpt]
make: *** [test] Error 1
+ exit 1
 [2003-06-18 21:04 UTC] hotta at net-newbie dot com
i've got same error when building php-4.3.2 
on VineSeed (Vine Linux development version). 
It occurs when doing make test 
before installing /usr/bin/php.
See README.TESTING for details.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 04:01:28 2024 UTC