How to find out which version of PHP your hosting is using
This is a quick guide to show you how simple it is to find out which PHP version you have.
Create a new PHP file in your hosting. You will need to do this within the folder that you wish to find out the PHP version for. So, you can create it straight into your public_html folder. Alternatively, you can create the file within another folder such as 'concrete5' or 'wordpress' or whatever folder you may have on your hosting.
Whichever folder you create it within, is the cms / website etc that you will find out the version of PHP for.
You can call the file whatever you like. Within the file you need to paste the following code:
Once you have saved the code, visit the PHP page you have just created e.g example.com/yourfile.php or example.com/foldername/yourfile.php.
Once you have loaded the url, you should see something like the below.
You should now know which PHP version you have.
Leave a comment
Has this guide helped you? Have an idea for a guide or need help? Let us know below.