After 10 years, I still can’t remember how to do this without looking it up. At least it’s way easier than it used to be.
On Vista, you can use the following (as of 9/14/2010):
httpd-2.2.16-win32-x86-no_ssl.msi
VC9 x86 Thread Safe
INSTALL APACHE
- Download and install Apache; set the install path to c:/server/apache
- When the server is finished installing, it will launch the apache monitor and start the service. Stop it. Close the monitor.
- Edit c:/server/apache/conf/http.conf
# Modify this section in httpd.conf to include index.php
# DirectoryIndex: sets the file that Apache will serve if a directory is requested.
#
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
#ADD the following at the bottom of httpd.conf
PHPIniDir "C:ServerPHP"
LoadModule php5_module "C:/Server/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
INSTALL PHP
- Download and unzip php (into c:/server/php/).
- Copy php.ini-recommended to php.ini

