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