From: matt dot parrett at gmail dot com Operating system: RHEL-latest PHP version: 5.2.1 PHP Bug Type: Unknown/Other Function Bug description: PHPinfo output truncated
Description: ------------ php 5.2.1 compiled with: './configure' '--prefix=/usr/local/php-5.2.1' '--with-apxs2=/usr/local/apache2.2/bin/apxs' '--with-mysql' '--with-mysqli' '--with-gd' '--with-pear' '--with-zlib-dir=/usr' '--with-mysql=/opt' '--with-jpeg-dir=/opt' '--with-png-dir=/opt' <?php phpinfo(); ?> seems to give truncated output when viewed in a browser. Using wget to retrieve the page gives the expected result. php -i gives proper output. It seems like PHP or our configuration of PHP is doing something wacky with the headers. Not really sure what to look at though. I've configured everything by the book, and have used the same configuration on another server without trouble. Additionally, IE attempts to display the page, then has second thoughts and says 'page cannot be displayed'. We are having similar weird issues with some of our scripts, and found that the simple phpinfo page does the same thing. This is a brand new server with fresh compiles of Apache 2.2 and PHP 5.2.1 - I've tested with PHP 4.4.4 (similar compilation options) and get the same result. Reproduce code: --------------- <?php phpinfo(); ?> Expected result: ---------------- Full PHPinfo with PHP Variables section at the bottom. Actual result: -------------- Output ends prior to HTTP Headers Information. -- Edit bug report at http://bugs.php.net/?id=40989&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40989&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40989&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40989&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40989&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40989&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40989&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40989&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40989&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40989&r=support Expected behavior: http://bugs.php.net/fix.php?id=40989&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40989&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40989&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40989&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40989&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40989&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40989&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40989&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40989&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40989&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40989&r=mysqlcfg