installing and configuring a wamp server in windows 7 & 8wamp

Upload: osei-fortune

Post on 14-Apr-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    1/20

    Installing and Configuring a WAMP

    Fitcom - Tech Blog

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    2/20

    Download a copy of WAMP

    First you will need to download WAMP from

    http://www.wampserver.com/en/download.php .You will have the option to choose either the 32-bit or 64-bit version your choice depends uponyour computers configuration.

    Fitcom - Tech Blog

    http://www.wampserver.com/en/download.phphttp://fitcom.co/http://fitcom.co/http://www.wampserver.com/en/download.php
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    3/20

    Install the software

    Install the software

    When you click next you will be asked to accept the license agreement.Basically it's a GPL license you are free to do just about anything with it so you can go aheadand accept it.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    4/20

    Destination Location

    The next step is to select where you would like to install WAMP .The default will be c:wamp however you can change to which ever directory or

    partition you choose that please you. Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    5/20

    Additional Tasks

    After you choose your directory you will have the option tosetup icons. If you noticed only one option is selected but you

    can select the best option for you. Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    6/20

    Ready to Install

    Once you decide on this click Next and then confirm the installation settings again by clickingInstall.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    7/20

    Default Browser

    Once the installation finish installing its files WAMP will detect which is your default browserat the moment but you can select no and navigate your way to any other browser of your

    choosing.Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    8/20

    Firewall

    NB if your Windows firewall pops up at this point make sure to grant Apache access.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    9/20

    PHP Mail Parameters

    The next decision you will have to make is to set the PHP mail parameters. Most peopleleave this set to the defaults when setting up a testing server on their local computer. Ifyou wish to configure it to connect to a SMTP server you may do so now all you needto do is click Next.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    10/20

    WAMP is now installed on your computer.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    11/20

    Testing

    Now that everything has been installed lets test everything out.

    Using one of the icons you created, or Start > start WampServer, you can launch themanagement console. Once opened, it will appear in the lower right hand corner of yourscreen.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    12/20

    Running

    If WAMP is not started go ahead and click Start All Services. If you are not sure

    whether or not WAMP is running, look for the small green W icon in your toolbar.Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    13/20

    Stopped or some services running

    If it is red, WAMP services are stopped, green means everything is running while orange

    means some services are running.Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    14/20

    Forbidden

    Now its time to check if everything was installed correctly. In the WAMP managementconsole, click on Localhost. If you see the following screen pop up in your browser theneverything is working but you only need to edit a few files to access WAMP via thehttp://localhost link.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    15/20

    Fixing LocalHost

    Open the WAMP management console highlight Apache then click on httpd.conf

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    16/20

    Localhost Works

    From the text editor find the line "Allow from 127.0.0.1" and add "Allow from ::1" below it nowsave the file and close it.

    Then next step is to restart all services go to the WAMP management console and click restartall services after WAMP has restarted all the services reopen your web browser if you closed it tohttp://localhost or just reload the page .If you see the following screen you did everything right so

    far now for the finishing touches .Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    17/20

    Configure Aliases

    Since you are on Windows 7 or 8 then Apache might be seeing the connections comingfrom "::1" which is the IPv6 equivalent of 127.0.0.1. so you'll have to change a few settingsfor you to access phpmyadmin, sqlbuddy & webgrind.

    Since you are on Windows 7 or 8 then Apache might be seeing the connections comingfrom "::1" which is the IPv6 equivalent of 127.0.0.1. so you'll have to change a few settingsfor you to access phpmyadmin, sqlbuddy & webgrind.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    18/20

    PhpmyAdmin

    Open the WAMP management console highlight Apache followed by Alias directoriesselect the http://localhost/phpmyadmin option then edit alias.From the text editor find theline "Allow from 127.0.0.1" and add "Allow from ::1" below it now save the file and close

    it. Do the same steps for fixing sqlbuddy and webgrind. Once you're done open WAMPmanagement console and click restart all services Fitcom - Tech Blog

    Configuring phpMyAdmin

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    19/20

    Configuring phpMyAdmin

    The last step is to set a password for phpMyAdmin. Many people skip this stepbecause the server is not going to be live so they dont see the need to protect thedatabase if it is only sample data. You can decide what practice to follow.

    In order to change the password you will need to navigate to your phpMyAdmin file,located at C:/wamp/apps/phpmyadmin3.x.x and open the config.inc.php file for editing.

    Once opened, navigate to the lines that read,

    $cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = 'xxxxx';

    $cfg['Servers'][$i]['AllowNoPassword'] = true;Where the example reads xxxxx insert your password. Under AllowNoPassword,change the value to false.

    Fitcom - Tech Blog

    What do I do next?

    http://fitcom.co/http://fitcom.co/
  • 7/30/2019 Installing and Configuring a WAMP Server in Windows 7 & 8Wamp

    20/20

    What do I do next?

    Now that everything is completed you can upload test websites to your root or eveninstall third-party web applications like WordPress, Moodle, Drupal, etc. to this location.You now have a sandbox in which to work on your development projects! Have funwith it.

    Fitcom - Tech Blog

    http://fitcom.co/http://fitcom.co/