Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2

Part 2 - Install Apache 2

Run the Apache Windows Installer that downloaded in Part 1. The installation is easy, just follow the on screen instruction.


Click on “Next”.

Apache Installation
Accept the terms and click “Next”.

Apache Installation
Click “Next”.

Apache Installation
The fields’ values are auto-detected. You may want to change it if it’s not correct.

Apache Installation
Choose Typical Installation and click “Next”.

Apache Installation
The default folder for Apache installation is C:\Program Files\Apache Group\Apache2. You can change that to anywhere in your hard disk. Here it’s change to C:\Server\Apache2 for example. Then click “Next”.

Apache Installation
Installation done.

Testing Apache Installation

Try to access http://localhost/.

A simple Apache index page in English should be shown. It means that the installation is succesful.

If there is problem, try the following the steps. Go to Start -> All Programs - Apache HTTP Server 2.x.xx - Control Apache Server. Try to Stop and then Start or Restart the Apache server (The Apache tray icon may also appear in Windows System Tray, where the above controls can be accessed there).

After installation is successful, the Apache configuration file httpd.conf should be updated if you want change the web root directory instead of default one at Apache2/htdocs. The httpd.conf located in “C:/Installation_Path/Apache2/conf/httpd.conf”. Use a text script editor to open it.

Search for DocumentRoot “C:/Server/Apache 2/Apache2/htdocs”. It should be found at line 228. Change it to your preferred web root folder. For illustration purpose, we change it to folder C:/Server/www. So the new line should looks like DocumentRoot “C:/Server/www”.

There is another same directory at line 253. Copy and paste the DocumentRoot from line 228 to line 253.

Save the configuration file. Make sure the new document root directory (i.e. C:/Server/www) exists. Then restart the Apache server. Depending on the directory contents, you’ll either see an index file or a list of files in the directory.

Share and contribute or get technical support and help at My Digital Life Forums.



5 Responses to “Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2”

  1. Install, Setup and Configure CGI and Perl in Windows XP » My Digital Life
    January 2nd, 2006 02:18
    1

    [...] Obvioulsy, a web server needs to be running on the Windows machine. Refer to this post for instructions on how to install Apache2 in Windows. [...]

  2. MySpace Blocked? Unblock MySpace and Bypass with Proxy Access » My Digital Life
    November 3rd, 2006 10:56
    2

    [...] Once you get a web server, install a proxy on the website. There are a lot of proxy server program available, such as PHPproxy and CGIproxy that can be installed to set up a proxy server. You will need to install Apache and PHP or CGI on your web server too to run as proxy. You may also want to setup a domain name for your proxy for easy remembrance, or you can always use the IP address to access it. If you’re using home based PC as proxy server, remember that IP address may not be static, so you can use dynamic DNS service to set up a domain name which will point to your correct dynamic IP address when changed, with service such DynDNS and No-IP. [...]

  3. sux nig
    April 20th, 2007 14:07
    3

    yourguide sux a phatty, learn to update you piece of shit. i get nothing but a bunch of errors with this setup, and i only made it to step 3. thanks to google, i found a much better guide. later noob!

  4. admin
    April 20th, 2007 14:59
    4

    Which better guide you have found? What should be updated?

  5. willians
    November 19th, 2008 06:06
    5

    hhola alguien me puede ayudar de como subir un cgiproxy a mi sitio web polq noc nada de eso tengo un subdominio en siteburg.com pero quisiera q me ayuden mi correo es max11_2@hotmail.com

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

apache2 php5 windows - apache php5 windows - apache php windows - install php on windows xp - installing php on windows XP - php windows xp - PHP on windows XP - apache2 and php5 windows - install php5 apache2 windows - documentroot windows - how to install php5 on windows xp - how to install php on windows xp - configuring php for apache server in windows XP - php5 apache windows - server apache vista - install apache php windows xp - php apache windows - install apache 2.2 xp - install apache2 php5 windows - Install and configure PHP and Apache on Windows XP - C:\Server\Apache2 - apache server vista - install php winxp - php5 apache 2.2 windows - php windows install apache2 - apache2 + php5 windows - installation of php5 on apache server for windows - install php5 on windows xp - php apache windows xp setup - windows + php5 + apache2 + setup - installing apache server on windows xp - installing apache server xp - apache 2.2 telepítése xp.-e - how to install php on domain server - apache php server for XP - apache 2 php 5 windows xp - apache 2.2 windows xp php 5 - install php windows xp - apache2 and php5 in windows - php5 apache 2 windows - documentroot in windows - php5 apache 2.2 xp - installing apache 2.2 on windows xp - apache php5 windows install - apache php install configure windows xp - instal apache 2.2 and php on xp - install apache 2.2.9 php 5 - apache2 php installation +windows - how to install apache server xp - apache server for xp -