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