check php version in wordpress code example Example: chow to check which php version running wordpress <?php phpinfo(); ?>