Re: cvs: phpdoc /en/reference/info/functions phpinfo.xml

From: Date: Fri, 21 May 2004 14:26:05 +0000
Subject: Re: cvs: phpdoc /en/reference/info/functions phpinfo.xml
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360772@lists.php.net to get a copy of this message
Derick Rethans wrote:
On Fri, 21 May 2004, Voytsekhovskyy Alexander wrote:
Good day.
NL> +      <function>phpinfo</function> outputs plain text instead of HTML when
NL> +      using the CLI mode.
Oh yes, this is true. Link: http://www.php.net/manual/en/features.commandline.php NL> This command line option calls phpinfo(), and prints out the NL> results. If PHP is not working correctly, it is advisable to use NL> php -i and see whether any error messages are printed out before NL> or in place of the information tables. Beware that the output is
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
NL> in HTML and therefore quite huge. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ And this is not true. In attachment there are diff file, which fix it.
"CGI mode" is wrong too, it's "CLI" mode.
His patch say that CGI will output HTML. To be clear : Apache module => HTML CGI => HTML CLI => TEXT Am I right ?

« previous php.doc (#969360772) next »