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. Derick
