Required Software:
Apache2.2.8 PHP 5.2.5 Mysql 5.0
************************
1. Install Apache
(Installation package format)
In network Domain and server Name, fill in 127.0.0.1, the lower-right corner to control the start and shutdown of the Apache server. When installed, enter http://localhost/in the browser, if it appearsIt works! "Words, then the installation was successful!
2. Install PHP
(Unpack package format)
Extract files to c:php
3. Install Mysql
(Unpack package format)
Unzip the file to C:mysql, from the command prompt character into the bin directory, execute"Mysql-nt-install"For installation, after the installation is successful, it will display"Service successfully installed."Then start the service"net start MySQL", and finally change the admin password"mysqladmin-u root-p password <new password>", you will be prompted for the old password, so you can enter it directly because you have not previously set the password.
Other Related orders:
Mysqld-nt-removeUninstall Service
net stop MySQLStop Service
4. Software configuration
Stop the Apache service first, then use Notepad to open the c:pacheconfhttpd.conf file, find the "#LoadModule ssl_module modules/mod_ssl.so" and add "LoadModule" below it. Php5_module C:/php/php5apache2_2.dll ". Then find "AddType application/x-gzip. gz. tgz" and add "AddType application/x-httpd-php. php" below.
Locate the Php.ini-dist and Php5ts.dll files in the c:php directory, copy php.ini-dist to the Windows directory, and rename to PHP.ini, and open it with Notepad extension=php_mysql.dll ", remove the preceding semicolon. Copy the Php5ts.dll to the System32 directory and copy the Php_mysql.dll files from the C:phpext directory to the Windows folder.
5. Configure the Web site
Modify httpd.conf again to find "DocumentRoot" C:/apache/htdocs "", "<directory" C:/apache/htdocs ">", "DirectoryIndex Index.hrml ", then make the corresponding modification can!
6. Completed
Start Apache Service, Configuration complete!