checking PHP version on linuxdatabase user is the install user code example Example 1: php get version echo PHP_VERSION; Example 2: how to cheeck php <?phpphpinfo(); ?>