Subscribe:

Ads 468x60px

Friday, August 3, 2012

Complete XAMPP setup in Windows





Complete Setup Steps for Linux Boxes (Please refer to previous post)
XAMPP= (X-Cross Platform, A-Apache, M-Mysql, P-PHP and P-Perl)

Here is step by step guide to install XAMPP in Windows environment from Scratch.
1. Downlaod  latest version of XAMPP from here. 
Downlaod


2. I am using Installer version(.exe file) of XAMPP to install it to windows.It will be easy for Newbies to install with installer version of XAMPP.Once downloaded click on installer.you get following screen. select the language and click on OK.


3. you will get following screen click on Next

4. After that you will get following screen. the default is C://XAMPP. you can change it.may be you can install it to USB drive then Browse USB drive to install it.
5. Click on  Next  then you will get following screen. This screen is for install options for  window XP or before versions of Windows.
If you are using XP then select  all  of SERVICE SELECTION  option on screen then click Install.

6. After clicking i install you get following screens.

7. When you click finish you will get following screen.Click on  yes to start  XAMPP control panel.
8. Next you will get following XAMPP control panel screen. here you can see that Apache  and FileZilla is Runnng.If it is not running
for you then  select their respective Svc and click Start  . The modules of Apache and Mysql is needed to develop and run PHP and Mysql based applications.Start  Apache , Mysql to start working with XAMPP. No need for fileZill , Mercury and Tomcat right now.
9. On clicking at Svn and Start of Apache and Mysql you will get
following screen. if it is so then You have completed installation of XAMPP almost.

10. Now you have to do basic configuration to start working with XAMPP. Open Web browser,in my case it is Firefox.type http://localhost/xampp  you will get following page.
11. In left menus you can see Security menu item below Status menu item. Click on Security. you will get this screen.
12. Then click on the highlighed  link  http://localhost/security/xamppsecurity.php.you will get following screen. Setup password for ROOT  the admin user of  Mysql database. Enter passwords twice and click on  Password Changing.  
No need of   enter passowrd for XAMPP Directory protection if you are installing XAMPP at your computer for developing purposes or testing purposes.

13.

Now it is time to test the current installation is working or not.
To test apache go to C:\xampp\htdocs create a folder name test and craete a
PHP file named
index.php
write following small test code in that

<?php phpinfo()       ?>

and open followind url :
http://localhost/test

you will see following screen

Congratulations:
You have successfully installed XAMPP on your system!

For tightening the security and small tit-bit:
you can make database in xampp 1.7 in following way:
1. go to http://localhost/phpmyadmin/ and enter your mysql username(root) and password you set in previous steps. Once logged in you have a field titled “Create new database ” enter database name you want to create and click on “create” button. Database will be created.

2. In step 11 if security menu shows “These XAMPP pages are accessible by network for everyone” and the status is UNSECURE".   For fixing it you need to secure “XAMPP DIRECTORY”. For this set username , Password for it. you can set it under the title “XAMPP DIRECTORY PROTECTION (.htaccess)” at ” http://localhost/security/xamppsecurity.php” page.

15 comments:

  1. Thanks a lot for sharing such an informative article.
    SEO Company Amravati

    ReplyDelete
  2. check this site out louis vuitton replica click here for more info Ysl replica bags read this gucci replica bags

    ReplyDelete