ID: 40989 Updated by: [EMAIL PROTECTED] Reported By: matt dot parrett at gmail dot com -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: RHEL-latest PHP Version: 5.2.1 New Comment:
Use "View source" to see what exactly you got from the server. Did you try a working browser instead of IE? Previous Comments: ------------------------------------------------------------------------ [2007-04-04 04:07:26] matt dot parrett at gmail dot com 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 this bug report at http://bugs.php.net/?id=40989&edit=1