1. Install apache (the most popular WEB server platform on Unix platform)
First install iis on the machine (Microsoft's WEB server platform) Stop (if started If so, because apache (the most popular WEB server platform on the Unix platform) is installed by default. also uses port 80, and there will be conflicts if it is not stopped.)
In apache (the most popular WEB server platform on the Unix platform) Server platform) official website download to apache (the most popular WEB server platform on Unix platform) _2.2.3-win32-x86-no_ssl, double-click to install, it is best not to install with spaces. Under the path, you can install it to c:apache(The most popular WEB server platform on the Unix platform)2 times
Start apache(The most popular WEB server platform on the Unix platform) in IE Enter http://localhost. If you see a page that says it works, it means APACEH is running normally
2. Install php (as the current mainstream development language)5
In php Download the official website of (as the current mainstream development language) to php (as the current mainstream development language) -5.2.0-Win32.zip, unzip the directory Change the name to php(as the current mainstream development language), copy to php
(as the current mainstream development language) in the C: directory >(As the current mainstream development language).ini-dist is renamed to php(As the current mainstream development language).ini is copied to c:windows (or:winnt depending on the operating system Determine), copy php(as the current mainstream development language)5ts.dll and libMySQL(the best combination with PHP) to c:windowssystem323 .Let apache
(the most popular WEB server platform on Unix platform) be able to run php (as the current mainstream development language) program modify the c:apaceh2confhttpd.conf file
Add
(the most popular WEB server platform on Unix platform) is added in version 2.2 Above and below)LoadModule php
(as the current mainstream development language)5_module c:/php(as the current mainstream development language)/php (As the current mainstream development language)5apache(The most popular WEB server platform on the Unix platform)2_2.dll(Note that if your apache
(The most popular Unix platform WEB server platform) is version 2.0 plus the following sentence) LoadModule php
(as the current mainstream development language) 5_module c:/php (as the current Mainstream development language)/php(as the current mainstream development language)5apache(the most popular WEB server platform on Unix platform)2.dll in AddType application /x-gzip .gz .tgz Add
AddType application/x-httpd-php
(as the current mainstream development language) to the next line of .tgz .php(as the current mainstream development language) Development language)Save
Write the simplest php
(as the current mainstream development language) page, which only has one line of code php
(As the current mainstream development language) info(); ?> Save it as test.php
(As the current mainstream development language) Put this file in C:apache (The most popular WEB server platform on Unix platform)2htdocsStart apache
(The most popular WEB server platform on Unix platform)Browse http://localhost/test.php(as the current mainstream development language)If you can see the information about php
(as the current mainstream development language), it means php(as the current mainstream development language) Development language)5+apache(The most popular WEB server platform on Unix platform)2.2 Configured into functions4. Install MySQL
(The best combination with PHP)4.1.3