check php downloadedversion list in ubuntu code example Example: check the php version in ubuntu php --version