Configuring Apache2+PHP5+MySQL5

1) Install apache_2.0.59-win32-x86-no_ssl.msi ; ; mysql-essential-5.0.21-win32.msi

2) bakup apache2\conf\httpd.conf

3) edit httpd.conf,add following lines:

LoadModule php5_module “D:/program files/php5/php5apache2.dll”
AddType application/x-httpd-php .php
AddDefaultCharset GB2312

4) modify:

DocumentRoot “D:/Program Files/Apache Group/Apache2/htdocs” to
DocumentRoot “E:/My Documents/php projects”

5) add:

<Directory />
Options Indexes FollowSymLinks
AllowOverride None

6) copy php5/php.ini to %system%\php.ini

7) decomment:



8) modify:

extension_dir = “./” to

extension_dir = “c:/php5/”  ;where your extension files reside

One Click Apache+MySQL+PHP Installer

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top