#19336 [Bgs->Opn]: phpinfo() returns plain text

From: Date: Tue, 10 Sep 2002 15:26:42 +0000
Subject: #19336 [Bgs->Opn]: phpinfo() returns plain text
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18941@lists.php.net to get a copy of this message
ID: 19336 User updated by: mclinden@informed.net Reported By: mclinden@informed.net -Status: Bogus +Status: Open Bug Type: PHP options/info functions Operating System: Linux 2.4.20-pre5 PHP Version: 4CVS-2002-09-10 New Comment: Here. Hope this helps. System => Linux www 2.4.18 #1 Thu Jun 13 15:04:26 EDT 2002 i686 Build Date => Sep 10 2002 10:37:38 Configure Command => './configure' '--prefix=/usr' '--enable-dba=shared' '--with-mm' '--enable-dbg=shared' '--enable-dbg-profiler' '--enable-force-cgi-redirect' '--enable-magic-quotes' '--enable-calendar' '--enable-cli' '--enable-bcmath' '--enable-dba' '--enable-dio' '--enable-ftp' '--enable-libgcc' '--enable-mailparse' '--enable-mbstring' '--enable-sockets' '--enable-wddx' '--enable-trans-sid' '--enable-xml' '--enable-dbx' '--enable-exif' '--enable-track-vars' '--enable-sigchild' '--enable-static' '--enable-shared' '--with-mysql=/usr' '--enable-sysvsem' '--enable-sysvshm' '--enable-ftp' '--enable-sockets' '--enable-inline-optimization' '--with-openssl=/usr/local/ssl' '--with-fdftk=/usr' '--with-ldap' '--with-ming' '--with-mcal=../../libmcal' '--with-gettext' '--with-xml' '--with-imagick' '--with-yaz' '--with-pear' '--with-zlib' '--with-dom' '--with-bz2' '--with-gdbm' '--with-gmp' '--with-curl' '--with-t1lib' '--with-msession=/usr/src/otai/phoenix' '--with-ldap' '--with-regex=php' '--with-mhash' '--with-iconv=/usr/lib' '--with-java=/opt/j2sdk1.4.0_01' '--with-oci8=/usr/oracle/OraHome1' '--with-oracle=/usr/oracle/OraHome1' '--with-xmlrpc' '--with-pdflib=/usr' '--with-apxs2=/usr/apache/bin/apxs' Server API => Apache 2.0 Filter Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/lib/php.ini API Versions: => PHP: 20020307 PHP Extension: 20020429 Zend Extension: 20020903 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib Previous Comments: ------------------------------------------------------------------------ [2002-09-10 10:23:42] rasmus@php.net It was labelled bogus because of the assumption that you are incorrectly using the CLI version of PHP where this is now default. As was stated, if you are indeed using the Apache module version or the CGI version, you could re-open. You didn't specify this when you re-opened, just that you were using Apache. Look at the output and tell us what it says next to "Server API". ------------------------------------------------------------------------ [2002-09-10 10:13:55] mclinden@informed.net Ok, so this is changed from Open to Bogus because what? You make a change that isn't documented? This behavior IS with the Apache server. It is a PHP page served up by Apache. ------------------------------------------------------------------------ [2002-09-10 10:04:43] wez@php.net This is the new behaviour with the cli version of PHP. If this is happening for cgi or apache, reopen this report. ------------------------------------------------------------------------ [2002-09-10 10:02:48] mclinden@informed.net There is probably a simple explanation for this but using the last three days CVS builds of PHP 4, <?php phpinfo(); ?> results outputs vanilla text rather than HTML when embedded in a PHP file and rendered by the Apache server. Suggestions? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19336&edit=1

« previous php.bugs (#18941) next »