Click here to try Mozy for FREE!
Recommended: Click here repair PC errors
Click here to run a Free Registry scan
WebWatcher

How to Check the PHP Version in 1and1 Hosting

by Gilberto J Perera View Comments Share

Add Telephone Mask to Access Table

One of my readers pointed out the importance of PHP version numbers when running several modules in Drupal and enabling certain workarounds. I hope I clarified his concern, as a result of this exchange I realized that those of you who run a website on a hosted server with PHP might not know how to determine the PHP version used on your server. This information is very important because it will determine the functionality and compatibility of software that is run on your server. The guide below will show you to determine the PHP version used on your server. If you have any comments or questions, please post them below.

Note: I used Dreamweaver to create the PHP file, CuteFTP to upload it, and 1&1 as my host.

PHP version with 1 and 1 hosting

1. Open Dreamweaver or another HTML editor and type the following into an empty document

<? phpinfo(); ?>

You can copy and paste the above statement in its entirety.

PHP version with 1 and 1 hosting

2. Save the file by clicking on File > Save As…

PHP version with 1 and 1 hosting

3. Navigate to the directory that you would like to save your file to, name the file check_info.php make sure that All Documents is selected as the Save as type: Click on the Save button

Note: You can name the file whatever you would like, but I recommend the above so that you can identify it.


PHP version with 1 and 1 hosting

4. Open your favorite FTP program, log on to your server, find the check_info.php file you just created, make sure to also browse to the root directory of your website. To upload using CuteFTP, right click the file and select Upload from the menu.

PHP version with 1 and 1 hosting

5. Open your browser and head on over to your website, type the following; http://www.yourwebaddresshere.com/check_info.php into the address bar. You should see a page similar to this that details the PHP version used on your server as well as other parameters.

1&1 Uses the above version of PHP – 5.2.6 as of 11/11/2008

Do you like this article?

Related Posts

  1. Customize FileZilla Settings to Quickly Reach Directories on Your Server
  2. 4 Things to Know Before Installing Drupal 6
  3. How to Exclude Internal Traffic from Analytics Reports
  4. 5 Questions To Help You Consider the Need for VPS Hosting
  5. Use OneWay for FTP Uploads from Your Mac
How-to

About the author

Gilbert is a Microsoft MVP, a full-time blogger, and technology aficionado. When Gilbert is away from his bike and his iPad, he's busy writing technology how-to's from his home-office in Miami, Florida on the latest programs and gadgets he can get his hands on. He's locally known as "the computer guy" and has spent the last 12 years helping family, friends, and GilsMethod.com visitors with their computer questions and problems. He was awarded the 2009 MVP award from Microsoft for his contributions in forums and blogs and is enjoying the new addition to his family.

Want more articles like this delivered for free to your inbox?

To receive the latest technology how-to's, news, and reviews, enter your email address below.

Sign up below

View Comments to “How to Check the PHP Version in 1and1 Hosting”

  1. Gil says:

    @Keddy: Appreciate the feedback, however I have attempted this with my website and it does not work. Does it have to the root directory? Do you need to create the info.php file? Any feedback would be great. Thanks.

  2. Keddy says:

    There is an easier way of finding your PHP version. Just open a browser and type in this:

    http://www.example.com/info.php

    Where example.com is your domain.

Leave a Reply

blog comments powered by Disqus