What is WAMP Server and How to Install on Windows

The first question comes is … What is Server?
A Server is a computer program installed on a computer system(also termed as SERVER) that serves or full fills other program requests form other computers(also termed as CLIENTS).Generally Servers are setup to complete and control the flow of network tasks like sending/receiving E-Mails, Collect data to central location termed as Database, Website hosting and much more.
Types of Server:

  • Web Server
  • File Server
  • Application Server
  • Telnet Server
  • Virtual Server

and List goes on…
here in this post we are going to discuss about Web Servers.

So, What is a Web Server?

As being a subset of Server it also serves the requests of the clients but it’s is specific for the types of requests is accepts.
Web server accepts the requests by HTTP or HTTPS protocols and serves the requested web pages or files to the browsers through internet. It also process the scripting languages like PHP, PEARL, PYTHON etc. and provides the result as a HTML page.

 

WAMP is a Web Server.
or Better to say it is a Web Server Stack that contains a specific set of software applications that performs a particular task on a particular platform.
Server stack contains a OS specific application, a server, a data storage or database application and a scripting programming language.In case of WAMP the OS application is Windows, server is Apache, database engine is MySQL and scripting language is PHP.
WAMP stands for Windows, Apache, MySQL, PHP.

Some Important Features of WAMP Server are:

  • Apache Server
  • PHP
  • MySQL
  • PHPMyAdmin
  • Works on Windows
  • Switch Online/Offline mode (Give access to everyone or only localhost)
  • Switch to new releases of Apache, MySQL and PHP.

Steps to Install WAMP Server:

step-1:
Go to WAMP Server Website and download the WampServer Stack. WampServer is available for free (under GPML license).
Website: http://www.wampserver.com/en/
While downloading check for the latest versions or the versions of your specific need of Apache, MySQL and PHP and the bit system of server stack according to your system configurations. WampServer is available in 32-bit and 64-bit configurations.

step-2:
Install the application on your system, by default it will install in ‘C’ partition under the path
path: “c:\wamp”
Now start the wamp application and in taskbar a wamp logo icon will appear with Red colour, after some time it will turn Yellow(indicates that server is started but it is on offline mode) and then it will turn Green(indicates that server is started and in online mode).
Note: Sometimes the icon stops at Yellow colour or Red colour. Means there is some problem in starting of server and it is not working correctly. troubleshoot it.

Troubleshooting:
Reason-1:
-Sometimes due to port clash with it doesn’t start with Skype. Hence exit the Skype from taskbar icon and exit the wamp server and then restart wamp server. Here once the wamp icon turns green, Skype can be used again it will not cause any problem.

Reason-2:
-On windows machine by default IIS(Internet Information Service) is runs in background, which is of similar kind of service, so we need to stop that service to let our WAMP Server work.
steps to stop the IIS.
1. Open Command Prompt with administrative privileges.
2. Run the Command: iisreset /stop
3. It will stop the IIS but to not let the IIS start on next system startup go to “services.msc” through the search panel in windows(as of now Cortana)and find the service named “World Wide Web Publishing Service” , Open it’s properties and set
StartupType: manual from Automatic.

step-3:
all projects and PHP files should be inside the ‘www’ directory of wamp.
path: “c:\wamp\www”

To alter the PHP Configuration settings, go to ‘php.ini’ file located under the given path
path: “C:\wamp\bin\php\php5.5.12”
file-name: “php.ini”
file-type: “Configuration Setting file”

To access the Project or PHP file go to the web browser and access it through localhost as given.
to access page contains all apps and project info from wamp.
URL: localhost/

to access specific project from www directory.
URL: localhost/<Project-folder-name>
i.e. if project name(folder name inside ‘www’ directory) is “myproject” then..
URL: localhost/myproject

 

Subscribe Dots Created Youtube Channel:

You have successfully installed the WampServer. Start Working.
Happy Coding!

Let me know of doubts and feedback in comment section.
Thank you!

1 thought on “What is WAMP Server and How to Install on Windows”

Leave a Comment