php.net |  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
 [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 ?

Patches

Pull Requests

History

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

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] iliaa@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net 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:


FAILED TEST SUMMARY
---------------------------------------------------------------------
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: Mon Nov 04 18:01:28 2024 UTC