here's what i had to do hope it helps somebody. i had never installed apache before, so i was working from the ground up.
Download Apache 2 Windows Installer.
Install. When it asks for domain and server names, but localhost for both.
Download PHP5 zip file, not installer.
Extract these files to a new folder, C:\PHP
libmysql.dll
php5apache2.dll
php5ts.dll
php.exe
php_mysql.dll
Extract php.ini to C:\WINDOWS
Extract libmysql.dll to C:\WINDOWS\SYSTEM32
Edit (and uncomment if necessary) this line in 'php.ini'
extension_dir = "c:\php" (was extenstion_dir = "./" I believe)
Uncomment this line
extension=php_mysql.dll
Open up the file 'httpd.conf' located in C:\APACHE\CONF.
Add these lines where you see similar:
LoadModule php5_module "c:\php\php5apache2.dll"
AddType application/x-httpd-php .php
Change this line:
DirectoryIndex index.html
To this:
DirectoryIndex index.php index.html
At this point, check to see if it is working.
Type localhost in your browser's address bar.
For me, Apache defaulted to port 8080 (rather than just 80) so http://localhost:8080
Did not work without the [url]http://[/url]
Download and install mysql 4.
Run 'winmysqladmin.exe' in C:\MYSQL\BIN.
If you are getting access denied errors, add the line
skip-grant-tables
somewhere between these two:
[mysqld]
[WinMySQLadmin]
Add your html and php files to C:\APACHE\HTDOCS
This site helped alot.
http://www.thesitewizard.com/archive/php4install.shtml