how to check currently enable php version ubuntu code example Example: check the php version in ubuntu php --version