Setting up apache on Windows xp
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
These are useful tips to setup an Apache dev server on a Windows Xp machine.

Apache 2.2 setup: www.thesitewizard.com/apache/install-apache-2-windows.shtml

Apache 2.2 setup, Vista: www.thesitewizard.com/apache/install-apache-on-vista.shtml

PHP 5 setup: www.thesitewizard.com/php/install-php-5-apache-windows.shtml

Download Apache 2.2: httpd.apache.org/download.cgi#apache22

Use the no ssl version unless you need to test ssl stuff.

Download PHP 5 here: windows.php.net/download/

I used the 5.2 VC6 x86 Thread Safe (2010-Jul-27 10:45:47)

because 5.3 gave error on my vm test, but otherwise use the 5.3

Gotchas. If you are using code written for normal linux bsds, you'll need to change the include path from using .: to .;

Make life easy, use c:\apache2.2 as the apache install directory
c:\php5 as the php install directory
and
c:\www
as your website directory.

Then you can just change the document root path and localhost directory to use c:\www as root, or a subfolder there.

This is NOT for virtual hosts setup, just for a single server setup, but maybe I'll try to figure out how to do virtual hosts, my first tests didn't work.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours