#19336 [Bgs->Csd]: phpinfo() returns plain text
| From: | mclinden at informed dot net | Date: | Tue, 10 Sep 2002 15:43:24 +0000 |
| Subject: | #19336 [Bgs->Csd]: phpinfo() returns plain text | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18948@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: Closed
Bug Type: PHP options/info functions
Operating System: Linux 2.4.20-pre5
PHP Version: 4CVS-2002-09-10
New Comment:
I have checked the manual. I see no place where this change in behavior
of phpinfo() is documented, except in the NEWS section of the source
code where the implication is that it was changed for the CLI but not
the Apache module version.
I am happy to be corrected but considering that the large amount of
preprinted PHP installation guides refers to this use of phpinfo() to
test an installation, this is not exactly a subtle behavior change.
Regards.
Previous Comments:
------------------------------------------------------------------------
[2002-09-10 10:27:42] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Turn on html_errors in php.ini. This was recently changed to allow the
CLI and CGI modules to have a pretty phpinfo() too.
Derick
------------------------------------------------------------------------
[2002-09-10 10:26:42] mclinden@informed.net
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
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19336
--
Edit this bug report at http://bugs.php.net/?id=19336&edit=1