Login | Register | FAQ

Test whether your host supports PHP

You can test whether your host supports PHP by following the steps below:

  1. Create a file in Notepad (or similar text editor) named test.php (note that the file extension must be ".php" instead of ".htm").
  2. Insert the following code in the file:

    <?php echo "Hello World!"; ?>
  3. Upload the file to your web host.
  4. Open the file in your browser.
  5. If the browser writes "Hello World!" your web host supports PHP and you are ready to go. Otherwise contact your hosting provider for more information.

That's it! Now are you ready to code your first PHP page. Hurry on to Lesson 3!

Related topics in the PHP ForumRepliesViews
Lesson 5 Error Message64416
Correct this Error's9418
Parse error: syntax error, unexpected '>' in C:\xampp\htdocs7615
PHP old code not working7622
MySQL error 1045 acces denied71097

+ Post a new topic

<< Lesson 2: Servers

Lesson 3: Your first PHP page >>