ubuntu how to check php version code example
Example 1: check the php version in ubuntu
php --version
Example 2: check php version linux terminal
/* in terminal type it*/
php -v
php --version
/* in terminal type it*/
php -v