Tutorial: How can I check if my host supports PHP and what version they are running?
DanITech | August 6, 2007What 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?
- Using notepad (or other text editor) create an ASCII text file and add the following line of code:
<?php phpinfo() ?> - Save the text file as test.php.
- Make sure the file has the correct extension ie test.php and NOT test.php.txt.
- Upload to your server (in ASCII mode).
- Test the file in your web browser, eg www.yoursite.com/test.php

If your host supports PHP, the file will confirm:
1. The version of PHP they are running; and
2. Their specific settings.

