How do I find out what version of WordPress is running? - Stack Overflow
How to check PHP compatibility?
identifying PHP Version from Source Code
Wordpress is reporting the wrong php version & Ubuntu version
Because 7.4 is installed doesn't mean that it is being used. Likely wordpress is reporting correctly. Are you using nginx or apache? You may have to enable it for whichever you are using. Should be able to google the instructions.
More on reddit.comWhich PHP version is compatible with WordPress?
The minimum PHP version that is compatible with WordPress is PHP 5.2.6. Although your host may offer this as an option, it’s not necessarily the best or safest. Other PHP versions compatible with WordPress are PHP 5.3 – 5.6 and PHP 7 and higher. WordPress recommends using PHP 7.4.
How do I know if PHP is working?
If you visit your WordPress site and everything appears to be functioning and displaying as it should, your PHP is likely working. However, if there are any issues or an update is required, you can find them listed under the Site Health tool from your WordPress dashboard.
Also, to ensure a PHP version works with your site, it’s important to check the PHP compatibility of your themes and plugins. For this, you may want to use a plugin such as PHP Compatibility Checker. Once installed, it will display errors and warnings related to your PHP version and WordPress compatibility. However, as we mentioned earlier, this plugin hasn’t been tested with the latest versions of WordPress.
Videos
Look in wp-includes/version.php
/**
* The WordPress version string
*
* @global string $wp_version
*/
$wp_version = '2.8.4';
Unless he edited some code to delete this, you should be able to view source on the site and look for this meta tag:
<meta name="generator" content="WordPress 2.7.1" />
That will give you the version.
Hello everyone. I would like to know, if there are any direct/indirect indicators in the source code of a Wordpress-Site, if the admin is using PHP 7 or 8. Any feedback would be welcome, Thank you.