check the php version in ubuntu
snippet in php

check the php version in ubuntu

user1452

 php --version