(+84) 463.28.7979

How to Find PHP Version of Hosting Server


In my attempt to fix internal server errors, I went about looking for simple ways to find the php version which powers the wordpress installation on our web hosting server. Here is the small tip to do it easily.

  1. Create a new document in Notepad or any other text editor
  2. Type following with no spaces or lines above or below
    <?
    phpinfo();
    ?>
  3. Save the file as checkversion.php or any other name you like, but should end with .php
  4. Upload using an FTP client to the root of your domain name where wordpress is hosted.
  5. Run http://yourdomain.com/checkversion.php in your browser

And a detailed page will reveal all the information about your PHP version and lots of technical details about your PHP core and server configuration which you never knew.

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>