Run PHP on the command line
$ php -a
Get General PHP installation information
From the command line run the following command.
$ phpinfo(INFO_GENERAL);
..or for all information:
phpinfo();
$ php -a
From the command line run the following command.
$ phpinfo(INFO_GENERAL);
..or for all information:
phpinfo();