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