Hangvirus Search


PHP Tutorial - Installation and the Basics

Here is a video which will help you in knowing PHP at a glance and take you through the whole way of installing and running PHP codes.

After installing XAMPP,  Just go to the "HTDOCS" folder in the XAMPP directory.
1. There you can just make a 'new folder' and rename it example - "testphp".
2. In the folder write your PHP file and name it as you want eg. test.php
3. Open your Browser and in the address bar type as follows - "" and see the output of your code.


  • For the PHP files having name 'index.php', need not write the complete path to the file eg- if in the previous example we had "test.php" as "index.php" the the URL would have been "".
  • Instead of you can also write "localhost".
  • All the files should be created in the "HTDOCS" folder in the XAMPP directory, and should be accessed as told.
-For any Help kindly post a comment.
Thank You

1 comments to "PHP Tutorial - Installation and the Basics"

  • Hello, Can you please change the direct image link my blog’s badge here? I had a problem with my Image host..

    please change it to this:

    Thanks a lot, really


Post a Comment

Ads -

About This Blog

the blog is here to update the various aspects and the new touch to the virgin horizons of the human developed technology. it is a technology blog providing tips and tricks of computers, updates about gadgets, new games, tutorials and all that a rookie computer man would expect




Subscribe in a reader
Subscribe via E-mail :

Enter your email address:

IndiBlogger - The Indian Blogger Community
Subscribe Us via SMS in INDIA
sms - ' ON hangvirus ' to 9870807070

Software Engineering

Google Groups
Subscribe to software-engineering2010
Visit this group


Join This Blog