Re: How to test php.info from command line
| From: | Jason Wong | Date: | Mon, 09 Dec 2002 19:29:58 +0000 |
| Subject: | Re: How to test php.info from command line | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127538@lists.php.net to get a copy of this message | ||
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.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Happiness isn't something you experience; it's something you remember.
-- Oscar Levant
*/