NOTE: Tested on Centos 4 & 5 and Ubuntu 9.04
- In the command line type in the following command to get all PHP information and configurations
- To get the Version number use the following command
- Or this command:
php -i | grep 'PHP Version'
Image Credits: Photo by Isis França on Unsplash.