Home arrow Apache arrow Page 2 - Installing and Configuring Apache 2 on a Windows XP Machine

Getting Started - Apache

Apache 2 represents quite a change from previous versions. If you have set up a previous version of Apache on a Windows XP PC, you will be interested in setting up the new version. Dan Wellman shows how to set up and configure Apache 2 on a Windows XP PC to give you a development environment that will allow you to test your PHP and other dynamic web technologies before taking them live.

TABLE OF CONTENTS:
  1. Installing and Configuring Apache 2 on a Windows XP Machine
  2. Getting Started
  3. Configuring
  4. Getting PHP Working
  5. Configuring MySql
By: Dan Wellman
Rating: starstarstarstarstar / 153
September 28, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

There is no reason why you cannot implement a WAMP web set up for testing purposes on a development machine.  Yes, Apache is better on a UNIX variant such as LINUX than it is on Windows, but having LINUX is not a pre-requisite to being a web designer.  If you have a Windows machine already, why should you have to either partition your hard drive and install LINUX as part of a dual boot system or use something like VMWare to emulate a similar setup?  The answer is that you don’t.

To begin, you’ll need to install Apache, so go to http://httpd.apache.org and click the download from a mirror link.  This will provide a link to the nearest available download site; the Win32 Binary installer is the quickest and easiest way to get up and running with Apache, being a pre-compiled installation file.  For an installation more tailored to your individual needs, you can download the source files and compile your own installer.

Clearly, installing the server requires nothing more than a double-click and following the on-screen prompts, so I won’t go over this part in too much detail.  You are required to enter your domain name, full server name and administrators email address.  This will all be pre-filled, but you can remove the suggestions and just use ‘localhost’ in the first two and any email address you feel like.  If this is your only web server, select for ‘all users on port 80 as a service.’ 

Unless you are a developer interested in building custom Apache modules, you can safely select the ‘typical’ radio on the next prompt, and the default file location is fine.  Apache should now be installed.

 

If you do get problems during install, this may be because you have downloaded a corrupt file or because you have another application running that may be listening for incoming connections on port 80.  If you get any errors, search for the specific message or different combinations of the key parts of the error message and you are more than likely to find the answer.

If Apache installs, you’ll see a feather in your system tray with a green play logo on it.  When this happens, open a browser and type http://localhost in the address bar, and you should see an Apache page confirming that the install was successful.

 



 
 
>>> More Apache Articles          >>> More By Dan Wellman
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

APACHE ARTICLES

- Apache Unveils Cassandra 1.2
- Apache on ARM Chips? Dell and Calxeda Help M...
- The Down Side of Open Source Software
- VMware Unveils Serengeti for Apache Hadoop
- SAP Takes Steps to Improve Hadoop Integration
- Looking to Hone Apache Hadoop Skills?
- How to Install Joomla on WAMPP
- Working with XAMPP and Wordpress
- GUI Available for Apache Camel
- Reduce Server Load for Apache and PHP Websit...
- Creating a VAMP (Vista, Apache, MySQL, PHP) ...
- Putting Apache in Jail
- Containing Intrusions in Apache
- Server Limits for Apache Security
- Setting Permissions in Apache

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: