Install apache in php + Apache + mysqlwindows
To build a php runtime environment in windows, refer to two articles.
Http://wenku.baidu.com/link? Url = response
Http://www.cnblogs.com/tigertall/archive/2010/01/28/1658869.html
Configure php first:
Open the php. ini-development file and copy the file named php. ini.
To enable php to call other modules, search by the extension keyword and remove the semicolon from the previous module. remove extension = php_mysql.dll.
Then configure apache:
1. open the httpd. conf file in the apache installation folder and add
(Suppose your php is in D:/PHP/php-5.3.1-Win32-VC6-x86)
LoadModule PHP 5_module D:/PHP/php-5.3.1-Win32-VC6-x86/php5apache2_2.dll
PHPIniDir "D:/PHP/php-5.3.1-Win32-VC6-x86"
2. define the types of files that need to be processed by the php parser.
Search by the keyword AddType application. you can define the php file type that can be executed,
Add AddType application/x-httpd-php. php nearby (note space)
Resources in: http://download.csdn.net/detail/guanweiliang/7433709
Appendix:
Resources in: http://download.csdn.net/detail/guanweiliang/7433723
Http://download.csdn.net/detail/guanweiliang/7433709