phpinfo from the command line

PHP.gif

Display information about your php install on the command line with the following:

echo “<?php phpinfo(); ?>” | php | less
simple enough.
Edit: apparently php -i does the same thing.  Leave it to me to find the hardway.

Related Posts

Comments are closed.