#37133 [NEW]: PHP in FastCGI mode cannot connect to same Apache server using readfile()

From: Date: Wed, 19 Apr 2006 07:43:28 +0000
Subject: #37133 [NEW]: PHP in FastCGI mode cannot connect to same Apache server using readfile()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95974@lists.php.net to get a copy of this message
From: ecarpenter at itex dot co dot za Operating system: SuSE Linux 10.0 PHP version: 4.4.2 PHP Bug Type: Reproducible crash Bug description: PHP in FastCGI mode cannot connect to same Apache server using readfile() Description: ------------ If PHP is running in FastCGI mode and the php script, test.php, is being executed. The readfile() statement never returns. Note that both scripts are on the same server! This above was test was done running php as an apache module (mod_php) and works 100%. Reproduce code: --------------- <? //file test.php readfile("http://localhost/info.php"); ?> <? //info.php phpinfo(); ?> Expected result: ---------------- The result generated by phpinfo() in info.php should be returned to test.php. test.php should then echo the result and should be displayed in the callee's browser Actual result: -------------- Http Error 500 -- Edit bug report at http://bugs.php.net/?id=37133&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37133&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37133&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37133&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37133&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37133&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37133&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37133&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37133&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37133&r=support Expected behavior: http://bugs.php.net/fix.php?id=37133&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37133&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37133&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37133&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37133&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37133&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37133&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37133&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37133&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37133&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37133&r=mysqlcfg

« previous php.bugs (#95974) next »