how to see what php version is running code example Example: check php version /* in terminal type it*/ php -v