How to install PHP

avatar December 17, 2011 by: 12

You need to have your apache server running in order to make your system execute PHP scripts.

Now, I will show the tutorial with XAMPP and will continue throughout with XAMPP server.

XAMPP is a collection of Apache, Mysql, Filezilla, Mercury mailer and Tomcat.

How to install PHP

  • Download XAMPP from official site. http://www.apachefriends.org/en/xampp-windows.htm
  • Its better to download installer rather than any other compressed versions). It’s Free.
  •  Otherwise click on the link to download directly.Download XAMPP
  • Now go on with the installation process. Its really very easy to install. Follow below steps.
  1. On start,

xampp installation1

xampp installation1

2. Choose your root directory

as the installation folder( It is recommended to use root directory in-order to reduce the errors).

3. Now select the services to be installed. It is recommended to use Apache and Mysql services.

Filezilla is used as a File Transfer Protocol, its optional.

You won’t be using it if you are only going to work with LOCALHOST(on your own machine).

Select the required services and click on install.

4. Now Installation processes goes on, after the installation your XAMPP control panel starts.

It will look like this.5. Now if you see Apache, Mysql services running then it implies that your XAMPP services are running correctly.

FileZilla is used for transferring files. Mercury is a web mailer and Tomcat is used for running JSP and Servlets.

Anyhow we don’t require FileZilla, Mercury and Tomcat are not required for PHP.

So, you can turn off these services.
6. Now check iff your localhost is working perfectly or not. Open any of your browser and type one of the below links.

http://localhost (or) http://127.0.0.1

7. Now you should see page like thisNow you have configured XAMPP correctly and you can start coding with PHP from now.

The default username of php is root and password is now set yet.

You can set the username and password by clicking on security.

See Next>> 1st Program “Hello World” in PHP

Share this Story
Categories
Php  
Tags
Add a Comment on "How to install PHP"

    12 Comments on "How to install PHP"

  1. Your post is excellent. That’s what I’m looking for.

  2. Hey there. Mainly wanted to place a short note and tell you that in fact I’ve enjoyed checking out your specific blog and will be endorsing it to my mates. Keep up the good work! Thanks again.

  3. I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

  4. avatar Shera Maute says:

    Many thanks for the art, previously interesting and compelling. I discovered my way here through Google, I’ll go back over again :)

  5. I was wondering if you ever thought of changing the layout of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or 2 pictures. Maybe you could space it out better?

  6. avatar Jovan Mehok says:

    I was reading through some of your blog posts on this website and I believe this internet site is rattling instructive! Continue putting up.

  7. avatar weathervane says:

    Hola! I’ve been reading your site for a while now and finally got the courage to go ahead and give you a shout out from Austin Tx! Just wanted to tell you keep up the excellent work!

  8. But wanna remark on few general things, The website pattern is perfect, the subject material is very wonderful : D.

  9. Heya are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need any coding knowledge to make your own blog? Any help would be greatly appreciated!

  10. avatar chandeliers says:

    Many thanks for this valuable write-up! My residence has recently been refurbished two times over the past year and most people have got to constantly don’t forget to not delay until the very last minute regarding these elements. You do definitely not need to have your current household turn out similar to my very own. Anyhow, it looks so much far better right now! Bye for now. Chad

Follow us

About Techdigit

Tech Digit comprises of many authors but the CEO of techdigit is Sriram who is an internet Marketer and Entrepreneur.