how to know which php version is enabled on ubuntu code example Example: check the php version in ubuntu php --version