DanITech Blog

DanITech news, website design, online projects, tutorials & tips.
  • rss
  • Home
  • About

Tutorial: How can I check if my host supports PHP and what version they are running?

DanITech | August 6, 2007

What is PHP?
PHP (the abbreviation of PHP: Hypertext Preprocessor)  is an open-source language that is used to create dynamic and interactive web pages. For example, you can use PHP to interact with your visitors via a Contact Us Form. 

How can I check if my host supports PHP and what version they are running?

  1. Using notepad (or other text editor) create an ASCII text file and add the following line of code:
    <?php phpinfo() ?>
  2. Save the text file as test.php. 
  3. Make sure the file has the correct extension ie test.php and NOT test.php.txt.
  4. Upload to your server (in ASCII mode).
  5. Test the file in your web browser, eg www.yoursite.com/test.php
  6. How to check if your hot supports PHP and what version they are running

    If your host supports PHP, the file will confirm:

    1. The version of PHP they are running; and

    2. Their specific settings.

Categories
PHP, Tutorials & Tips
Tags
DanITech, PHP, Tutorials
Comments rss
Comments rss
Trackback
Trackback

Designer Clothes & Discount Designer Clothing »

Leave a comment

You must be logged in to post a comment

DanITech

  • Projects (5)
    • Blogs (5)
    • Websites (5)
  • Tutorials & Tips (7)
    • Blogs (5)
    • Making Money Online (2)
    • PHP (1)
    • Website Design (2)

Latest Website Projects

  • Designer Clothes
  • Drink Driving Law
  • Driving Ban
  • Fiat Racing Challenge
  • Fiat Racing Challenge Blog
  • GI Diet Recipes
  • Gift Ideas
  • Gifts & Gift Ideas
  • Jonesey Racing
  • Montego Racing
  • Motor Law Answers
  • Motor Lawyers
  • Motor Lawyers Blog

Popular Tags

Blogging Blogs DanITech Money Motor Lawyers Motor Racing Online Projects PHP Tutorials Website Design
design by jide Powered by WordPress

© DanITech Limited. All rights reserved.
Registered in England & Wales. Company No. 3762054.