How to check the PHP version of your WordPress site

You can verify the PHP version by creating a file with name phpinfo.php under your website with following code:


Make sure you create this file on the root directory and then access that page in browser to verify your PHP version.