An environment
Httpd-2.2.17-win32-x86-no_ssl.msi
Mysql-5.5.9-winx64.msi
Php-5.3.5-win32-vc9-x86.zip
Phpmyadmin-3.3.9.1-all-languages.zip
Windows Server 2003 SP2 R2 Enterprise x64 Edition
Two installation
1) Install apache2.2 to d:/apache2.2
2 Extract PHP to d:/php5.3.5
Three configuration PHP, to increase the extension in Ext support
Modify D:/php5.3.5/php.ini-production, replace file name php.ini
and modify (remove the front ";")
Extension_dir = "D:/php5.3.5/ext"
Four configuration Apache support PHP
Modify D:\Apache2.2\conf\httpd.conf
1) Home Configuration
<ifmodule dir_module>
DirectoryIndex index.php index.html
</IfModule>
2) Support PHP
# php5.3.5
LoadModule php5_module "D:/php5.3.5/php5apache2_2.dll"
Phpinidir "d:/php5.3.5"
AddType application/x-httpd-php. php
AddType application/x-httpd-php. html
Five Test PHP
New D:\Program files\apache2.2\htdocs\index.php
PHP code
1.<?php
2.phpinfo ();
3.?>
<?php
Phpinfo ();
?>
Start apache2.2 and access the test page
########################################################
In this, PHP and Apache integration completed
########################################################