how to check how many php versions I have installed in ubuntu terminal code example Example: check the php version in ubuntu php --version