Facebooktwittergoogle_plusredditpinterestlinkedinmail

This article is going to step by step set-up and Configure WAMP Server in Windows 7 & 8 machine.

Perquisites:-

FOR WAMP 32bit :-

  Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) [Download Link ]

  If you are using WampServer 2.4 or 2.5

  Microsoft Visual C++ 2012 [ Download Link ]

  Press the Download button and on the following screen select VSU_4\vcredist_x86.exe

 FOR WAMP 64bit :-

Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)  [Download Link]

If you are using WampServer 2.5 on a 64bit Windows
You will need both the 32bit and 64bit versions of this runtime.

Microsoft Visual C++ 2012 [Download Link]
Press the Download button and on the following screen select VSU_4\vcredist_x86.exe
Press the Download button and on the following screen select VSU_4\vcredist_x64.exe

Steps :-
1) Download WAMP Server.
First you need to download WAMP server from http://www.wampserver.com/en/#download-wrapper
choose your WAMP version according to your windows machine configuration 32bit or 64bit.

wamp-download-1024x497-1
Download Wamp Server

Click in Download Directly

WAMP-SERVER-2-1024x497
Download Wamp Server

2) Installation and Configuration :-
Go to your download folder and click on WAMP exe to start WAMP server installation.

wamp-3-0.1
Click on Wamp server exe

It will open WAMP installation Wizard. Click on Run

wamp-4-0.1
Wamp Setup

Click on Next Button

wamp-5-0.1
Wamp installation step

Select “I accept the agreement” radio button and click on “Next“.

wamp-6-0.1
Wamp license agreement

Choose WAMP installation directory by default it will be C:\wamp then click on Next.

wamp-7-0.1
Choose wamp installation directory

Choose Quick Launcher or Desktop icon checkbox if you want to quick launcher and desktop icon then Click on Next

wamp-8-0.1
Choose quick launch and desktop icon

Now click on Install button to start installation process.

wamp-9-ready-to-install-0.1
Ready wamp installation

While installing WAMPServer it will ask default browser for WAMPserver, By default it will automatically detect Internet Explorer . Click on open button to select IE as a default browser.

wamp-11-asking-browser-0.1
Set wamp server’s default browser

If you want to change to any other browser as a default WAMP server browser then go to  Program Files (x86) in your windows installation directory. For e.g. to set Mozilla Firefox choose firefox.exe from C:\Program Files (x86)\Mozilla Firefox\firefox.exe and click on open.

wamp-12-choose-firefox-0.1
choose firefox as default browser

Now PHP mail parameter wizard. Default SMTP is localhost and email is you@youdomain , for now keep it as it is 🙂  and click on Next button

wamp-13-asking-localhost-0.1
Setup SMPT host and email

Now “Complete the Wampserver 2 Setup wizard” by click on finish button

wamp-14-finish-launch-0.1
Wamp finish installation and launch the server

if you choose “Launch WampServer 2 now” check-box then it will immediate launch wampserver.

3) Start WAMP Server

Now you have successfully installed wamp server in your windows machine. In order to start using you have  start WAMPServer services.

Go to Start->All Programs->WampServer folder and click on “Start WampServer”. If you already click on desktop icon then you can directly go and click on WampServer shortcut to start it.

Now go to desktop icons and click on WAMP icon. Initially wamp icon is Red (means no services are running ).

wamp-16-1-0.1

when you click on Start All Service  and it will turns to Orange color ( means Wamp server services are running but not all services are started ) .wamp-15-0.1(* 1)

When All services has been started then wamp icon turns to Green .
4) Verify Wamp installation.

You start wamp server successfully now you need to check your wamp server is running or not. Go to browser and type http://localhost/

you will see screen like below.

wamp-17-0.1-1024x601
Verify Wamp Installation

If you are not able to view above screen then might be some problem with your default port in which wamp server running.

Most Common error , WAMP will be install on port 80 in your machine. If port 80 is already occupied by any other services or sever then you have to configure WAMP on another port. This issue you will generally face if IIS is already installed in your machine.

1) Go to WAMP Desktop icon -> Apache -> httpd.conf
Search -> 80 and replace with 8080

Then save httpd.conf file. Now got to desktop wamp icon (* 1) and click on “Restart All Services” . Now your wamp server will run on 8080 port. You can verify installation by including port in http://localhost/ to http://localhost:8080/

5) Hello World PHP !

I think when you successfully set wamp server then why not start with “Hello World” php program.

Go to www directory inside C:\wamp directory and create your project directory named “first-project” (C:\wamp\www\first-project) .

Inside first-project directory create a file “index.php

Write your first program here .

<?php
/**
* TechieRoop PHP Tutorial
*
* Hello World Program.
*/
echo 'Hello World !';
?>

HelloWorldPhp

Go to browser and run your project http://localhost/first-project/.   You will see Hello World ! is displaying in browser window.

That’s it in first part of PHP tutorial .

Installing WAMP Server in Windows 7 & 8http://techieroop.com/wp-content/uploads/2014/06/install-wamp-in-windows-7-8.jpghttp://techieroop.com/wp-content/uploads/2014/06/install-wamp-in-windows-7-8-150x127.jpg Roopendra PHP,,
This article is going to step by step set-up and Configure WAMP Server in Windows 7 & 8 machine.Perquisites:-FOR WAMP 32bit :-   Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)   If you are using WampServer 2.4 or 2.5   Microsoft Visual C++ 2012   Press the Download button and...
This article is going to step by step set-up and Configure WAMP Server in Windows 7 & 8 machine.<strong>Perquisites:-</strong><b>FOR WAMP 32bit</b> :- <p style="padding-left: 30px;">  Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) [<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=8328" target="_blank">Download Link</a> ]</p> <p style="padding-left: 30px;"><i>  If you are using WampServer 2.4 or 2.5</i></p> <p style="padding-left: 30px;">  Microsoft Visual C++ 2012 [<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=30679" target="_blank"> Download Link </a>]</p> <p style="padding-left: 30px;">  Press the Download button and on the following screen <i>select VSU_4\vcredist_x86.exe</i></p>  <b>FOR WAMP 64bit</b> :- <p style="padding-left: 30px;">Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)  [<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=13523" target="_blank">Download Link</a>]</p> <p style="padding-left: 30px;"><i>If you are using WampServer 2.5 on a 64bit Windows</i> You will need both the 32bit and 64bit versions of this runtime.</p> <p style="padding-left: 30px;">Microsoft Visual C++ 2012 [<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=30679" target="_blank">Download Link</a>] Press the Download button and on the following screen <i>select VSU_4\vcredist_x86.exe</i> Press the Download button and on the following screen <i>select VSU_4\vcredist_x64.exe</i></p> <strong>Steps :-</strong> <strong>1) Download WAMP Server.</strong> First you need to download WAMP server from <a href="http://www.wampserver.com/en/#download-wrapper" target="_blank">http://www.wampserver.com/en/#download-wrapper</a> choose your WAMP version according to your windows machine configuration 32bit or 64bit.Click in <strong>Download Directly</strong><strong>2) Installation and Configuration :-</strong> Go to your download folder and click on WAMP exe to start WAMP server installation.It will open WAMP installation Wizard. Click on <strong>Run</strong>Click on <strong>Next</strong> ButtonSelect "I accept the agreement" radio button and click on "<strong>Next</strong>".Choose <strong>WAMP</strong> installation directory by default it will be <strong>C:\wamp</strong> then click on <strong>Next</strong>.Choose Quick Launcher or Desktop icon checkbox if you want to quick launcher and desktop icon then Click on <strong>Next</strong>Now click on <strong>Install </strong>button to start installation process.While installing WAMPServer it will ask default browser for WAMPserver, By default it will automatically detect <strong>Internet Explorer . </strong>Click on open button to select <strong>IE</strong> as a default browser.If you want to change to any other browser as a default WAMP server browser then go to  <strong>Program Files (x86)</strong> in your windows installation directory. For e.g. to set <strong>Mozilla Firefox</strong> choose <strong>firefox.exe</strong> from <strong>C:\Program Files (x86)\Mozilla Firefox\</strong>firefox.exe and click on open.Now PHP mail parameter wizard. Default SMTP is <strong>localhost </strong>and email is <strong>you@youdomain , </strong>for now keep it as it is 🙂  and click on <strong>Next</strong> buttonNow "Complete the Wampserver 2 Setup wizard" by click on <strong>finish </strong>buttonif you choose "<strong>Launch WampServer 2 now</strong>" check-box then it will immediate launch wampserver.<strong>3) Start WAMP Server</strong>Now you have successfully installed wamp server in your windows machine. In order to start using you have  start <strong>WAMPServer</strong> services.Go to <strong>Start</strong>-><strong>All Programs</strong>-><strong>WampServer</strong> folder and click on “<strong>Start WampServer</strong>”. If you already click on desktop icon then you can directly go and click on <strong>WampServer </strong>shortcut to start it.Now go to desktop icons and click on WAMP icon. Initially wamp icon is <strong>Red</strong> (means no services are running ).<a href="http://techieroop.com/wp-content/uploads/2014/06/wamp-16-1-0.1.png" target="_blank"><img class="aligncenter wp-image-244 size-full" src="http://techieroop.com/wp-content/uploads/2014/06/wamp-16-1-0.1.png" alt="wamp-16-1-0.1" width="143" height="184" /></a>when you click on <strong>Start All Service </strong> and it will turns to <strong>Orange</strong> color ( means Wamp server services are running but not all services are started ) .<img class="aligncenter wp-image-243 size-medium" src="http://techieroop.com/wp-content/uploads/2014/06/wamp-15-0.1-200x300.png" alt="wamp-15-0.1" width="200" height="300" />(* 1)When All services has been started then wamp icon turns to <strong>Green</strong> . <strong>4) Verify Wamp installation.</strong>You start wamp server successfully now you need to check your wamp server is running or not. Go to browser and type http://localhost/you will see screen like below.If you are not able to view above screen then might be some problem with your default port in which wamp server running.Most Common error , WAMP will be install on port 80 in your machine. If port 80 is already occupied by any other services or sever then you have to configure WAMP on another port. This issue you will generally face if <strong>IIS</strong> is already installed in your machine.1) Go to WAMP Desktop icon -> Apache -> httpd.conf Search -> 80 and replace with 8080Then save <strong>httpd.conf </strong>file. Now got to desktop wamp icon (* 1) and click on "<strong>Restart All Services</strong>" . Now your wamp server will run on 8080 port. You can verify installation by including port in h<strong>ttp://localhost/</strong> to <strong>http://localhost:8080/</strong><strong>5)</strong> <strong>Hello World PHP !</strong>I think when you successfully set wamp server then why not start with "<strong>Hello World</strong>" php program.Go to <strong>www</strong> directory inside <strong>C:\wamp</strong> directory and create your project directory named "<strong>first-project</strong>" (C:\wamp\www\first-project) .Inside <strong>first-project</strong> directory create a file "<strong>index.php</strong>"Write your first program here . <pre><code><?php /** * TechieRoop PHP Tutorial * * Hello World Program. */ echo 'Hello World !'; ?></code></pre> <a href="http://techieroop.com/wp-content/uploads/2014/06/HelloWorldPhp.png" target="_blank"><img class="aligncenter wp-image-246 size-medium" src="http://techieroop.com/wp-content/uploads/2014/06/HelloWorldPhp-300x177.png" alt="HelloWorldPhp" width="300" height="177" /></a>Go to browser and run your project <strong>http://localhost/first-project/. </strong>  You will see Hello World ! is displaying in browser window.That's it in first part of PHP tutorial .
(Visited 7,503 times, 412 visits today)
Facebooktwittergoogle_pluslinkedinrss