There are many occasions when we need to check the PHP version on our hosting to troubleshoot plugins or applications that failed to work. When the version doesn’t meet the minimum requirements of the plugins, it won’t work and it may be time for you to jump to another web host. Thankfully, checking is very easy and takes less than 5 mins. Here are the steps to check PHP version of your host/server:

1. Open up your Notepad , and copy and paste the code below.

<?php phpinfo(); ?>

2. Save the text file as test.php. Ensure that the file extension is .php, and not .txt.php, or php.txt

3. Upload the text file to your server via FTP. Look for the folder /public_html, and upload to it. For free software, you can download FileZilla here.

PHP Version Settings

4. After uploading, point your browser to the URL: www.yourdomainname.com/test.php

5. The script will fetch the PHP version and settings, and you will see a very detailed report including: PHP Version, System, Build Date, Configure Command, Server API, Installed PHP Modules, PHP Variables, etc.

6. For security measures, delete the file after you are done with the checking.

GD Star Rating
loading...
If you enjoyed this post, please subscribe to my RSS feed or receive blog posts via email with the opt-in box on the sidebar :) You can also follow me on Twitter here.

About Lincoln Lim

Lincoln is a fan of Apple products, loves red wine and traveling. He blogs on internet marketing, social media, wordpress tips & guides, and using technology to maximize efficiency.

Tagged with:  
Share →

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>