ubuntu find out which version of php is running code example Example: check the php version in ubuntu php --version