<<
Apache And Php On Windows
Preparation
Download and install Apache:
www.apache.org/dist/httpd/binaries/win32
Download PHP, get the zip, not the installer:
www.php.net/downloads
PHP
Extract PHP to
c:\php
copy
c:\php\ext\php_xmlrpc.dll to
c:\php, and any other extensions needed
copy
c:\php\php.ini-dist to
c:\windows\php.ini
edit
c:\windows\php.ini as follows:
doc_root = "c:\path_to_apache\htdocs"
extension_dir = "c:\php\"
session.save_path = "c:\path_to_apache\htdocs\tmp"
Uncomment any extensions you want, e.g.
extension=php_curl.dll
Apache
edit
c:\path_to_apache\conf\httpd.conf, at the end of the
LoadModule section, add (for php5 and apache2.2.x)
LoadModule php5_module "c:\php\php5apache2_2.dll"
edit
c:\path_to_apache\conf\mime.types and add
application/x-httpd-php php
application/x-httpd-php-source phps
Restart apache
Post configuration
Have a coffee