ID: 37133 User updated by: ecarpenter at itex dot co dot za Reported By: ecarpenter at itex dot co dot za -Status: Feedback +Status: Open Bug Type: CGI related Operating System: SuSE Linux 10.0 PHP Version: 4.4.2 New Comment:
I download the release, the same problem still exist. I compiled PHP using the following settings: /configure --prefix=/usr --datadir=/usr/share/php --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug --enable-inline-optimization --enable-memory-limit --enable-magic-quotes --enable-safe-mode --enable-sigchild --disable-ctype --disable-session --without-mysql --disable-cli --without-pear --with-openssl --enable-force-cgi-redirect --enable-fastcgi --bindir=/srv/www/cgi-bin The output after running php -v PHP 4.4.3-dev (cgi-fcgi) (built: Apr 19 2006 11:52:46) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies Previous Comments: ------------------------------------------------------------------------ [2006-04-19 09:41:11] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2006-04-19 07:43:28] ecarpenter at itex dot co dot za 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 this bug report at http://bugs.php.net/?id=37133&edit=1
