PHP
Http://windows.php.net/downloads/releases/php-5.3.1-Win32-VC9-x86.zip
Apache
Http://apache.freelamp.com/httpd/binaries/win32/apache_2.2.14-win32-x86-openssl-0.9.8k.msi
MySQL
Http://mysql.mirror.tw/Downloads/MySQL-5.5/mysql-5.5.0-m2-win32.msi
1. install apache
2. decompress PHP to a directory
3. install mysql
4. configure the Apache file and find httpd under the Apache Software Foundation \ apache2.2 \ conf directory. in the conf file, CTRL + F find htdocs and point this path to the directory (website directory) where the Program runs ). There are two parts in total.
5. open the PHP installation directory and edit the configuration file. ini-Development) PHP. ini-production:
(1) register_globals = on
(2) Extension = php_mysql.dll
(3) modules as needed, select appropriate
6. combined with Apache and php
(1) Open the Apache configuration file, HTTP. conf.
(2) locate the approximate location
Fill in the blank line in the middle: (the path here is incorrect. Check the note)
(3) locate the following location,
Add the following code:
7. integration of MySQL with Apache and php
install MySQL. In the preceding PHP. ini configuration, open the MySQL module.
8. note:
(1) when setting 6-(2), note that there is no space in the program files. Therefore, put PHP in a simple directory or in the following directory.
(2) Pay attention to setting extension_dir = "D:/PHP/EXT". Otherwise, the path may be incorrect when the extension is loaded.