• Tweet

apache php mysql logozk 300x264 Setting Up Your Web Development Environment on Windows

In a previous post, we have seen how to setup a local web server on the Linux platform. Today we’re going to setup a development environment on the Windows platform. Before we begin, let’s see what we’re going to need:

  • A Web Server (Apache)
  • A MySQL Installation
  • A PHP Setup configured with the Web Server

There are a lot of packages which install and configure these prerequisites on Windows. XAMPP, WAMP Server, PHP Triad are some of the most common ones.

We shall choose the WAMP Server. Why? Let’s have a look at the feature list of this server.

  • A complete stack – includes everything.
  • Everything comes preconfigured.
  • You can run apache and mysql as a service.
  • Includes XDebug.
  • Includes phpMyAdmin.
  • Includes SQLBuddy
  • Contains Webgrind and XDC tools
  • Includes major PHP extensions.
  • Ships most of the Apache modules commonly used.
  • A very easy administration panel.
  • Light weight

Installation


You can download and install WAMP Server from: http://www.wampserver.com/en/ Go to the Downloads section and select a download candidate based on your system (32bit or 64bit). If you are not sure which one to choose, get the 32bit one.

Double click on the installer to start the installation. Follow the easy steps and you shall be soon done. After the installation is complete, run the application. You should see a WAMP manager icon on your system tray. Click on it to get the context menu.

Understanding WAMP Status

The WAMP server would be running only when both Apache and MySQL will be running. If the components are running okay, the server will be online. You can visit http://localhost to check out the output. But if one of the components fails to run, WAMP server will not work properly. We can check the status of WAMP server by looking at the WAMP manager icon on the system tray. If the “W” icon is green everything is okay. If yellow, one or more services failed to load. If red, there is something seriously wrong.

WAMP is OKAY

WAMP is having problems

WAMP is OFFLINE

Known Issue: Conflict with Skype

On Windows, Skype blocks the port 80. Apache requires this port. So if you’re running Skype, please go to Tools > Options. Then in the Advanced section, select Connection. Un-check the box that says “Use port 80 and 443 as alternatives for incoming connection. Quit Skype and restart. The issue should be resolved.

Skype80 300x191 Setting Up Your Web Development Environment on Windows

Changing Settings

You can use the WAMP manager tray icon to change settings and configurations.

PHP Settings 295x300 Setting Up Your Web Development Environment on Windows

How to upload files

The www or public_html directory location is: “C:wampwww”. Any files or folders you put here shall be served by the server.

Getting help/Support

Forum: http://www.wampserver.com/phorum/list.php?2

Frequentlyt Asked Questions: http://www.wampserver.com/en/faq.php