Re: How to test php.info from command line

From: Date: Wed, 11 Dec 2002 10:46:01 +0000
Subject: Re: How to test php.info from command line
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-127787@lists.php.net to get a copy of this message
Jason Wong wrote:
On Tuesday 10 December 2002 02:39, info@t-host.com wrote:
Hello All,
How to test php.info from command line:
#echo "<?php phpinfo()?>" | php to the standard output (screen) - or if you want to a file like this way: #echo "<?php phpinfo()?>" | php > /tmp/test_php.txt Oliver Etzel .eu - domain are coming soon www.t-host.com
Or simply #php -i It would be nice if there was a text-only version without all the HTML gunge.
this works nicely for me php -i | lynx -stdin -dump

« previous php.general (#127787) next »