About
The phpinfo command gives information on your php environment and is used to check the configuration of a running environment.
Access
Command line
php -i gives you phpinfo information at the command line.
php -i
php web page
Create a page phpinfo.php with the following code and get it from your webserver
<?php phpinfo(); ?>