Saturday, April 4, 2015

How To Install XAMPP On Windows in 12 Seps

How To Install XAMPP On Windows in 12 Seps

XAMPP Installation on Windows :

What is Xampp?
Let me answer this question. Xampp is a software which serves as a local server for your WordPress website.You can also say it’s somewhat likeDreamweaver where you can create website files on you local files and test them.
Xampp contains Apache, Mysql, Filezila, mercury and tomcat all at one place. Isn’t it amazing!
xampp

Uses of  XAMPP :

If you are thinking of a WordPress theme development then xampp is a must have tool for you.Whenever you want to develop something you must always test it on a local server.It is practice every developer should have.It helps you to test bugs and fix them if you find any.
Xampp allows you to test WordPress themes on your local folder.Unlike a web server xampp also serves as a local server for your website. Apart from this Xampp has a mysql database which allows you to store data.It means Xampp creates a perfect development atmosphere on your local server.

How to install XAMPP On Windows 7 :

Let me demonstrate it in one by one steps :
  1. Go to the link and download Latest version of Xampp
http://sourceforge.net/projects/xampp/files/
  1. After downloading Xampp run the file on your computer and follow the instructions.
  2. Once it is installed you must be seeing the following screen .
  3. Click all the  5 start buttons in front of Apache,Mysql,Mercury,filezila and tomcat.
  4. Once you have done that you should now see them highlighted in green which means you are on correct path.
  5. Now you need to add database for your local WordPress website.
  6. Now go to http://localhost/phpmyadmin on your browser
  7. You must see (image 2) something like this on-screen.
  8. Now click on databases and add wordpress_db and click on create.
  9. You should see a message “database wordpress_db has been created”
  10. Now click on “wordpress_db” in the list below
  11. After this click on privileges in the top menu and then click on add user.
  12. Fill the fields as follows :
username : admin
Host : localhost
Type a password you are comfortable with.
  1. Now below it click on “check all”
  2. Once you have done with it click on create user and now you should see the message “user has been added”
  3. Hurray! You have create a WordPress database.

Adding WordPress to database :

  • Go to wordpress.org and download the latest version of WordPress. Once you have downloaded it unzip the file.You must now see WordPress 3.5 click on it and now you will see WordPress folder.
  • Copy this WordPress folder and paste it to “c:xampphtdocs”
  • Htdocs is a folder which contains your site files.
  • Now there are 2 ways of installing WordPress on database .

First method :

We are going with first method as it is extremely easy.
  • Go to http://localhost/WordPress
  • Click on create configuration file. WordPress will automatically create configuration file for you.
  • Whoa! you have done it.
  • Fill in the details and have fun with your local WordPress site andWordPress theme development.

Second Method:

  • Go to WordPress>>wp-sample-config.php
  • Edit the file and replace the information you have created.
  • Once you have edited rename the file name to wp-config.php
  • Now go to http://localhost/wordpress and fill in your site details
We are done.Best of luck with your theme development. 

No comments:

Post a Comment