Official:
MySQL http://www.mysql.com/downloads/mysql/ find an MSI file down. Apache http://httpd.apache.org/download.cgi
Php http://windows.php.net/download/#php-5.4
The first is MySQL)
Step by step, no more configuration required
Then install Apache,
Also step by step
Install PHP. (I'm proud to be lazy. On the PHP download page, find the Installer file... it may not be the latest version ~)
Download Page
Installation notes
Other things to remember:
In fact, the above is all nonsense. The following is what I want to remember.
1. PHP and IIS combination notes
Edit this value in IIS Manager
2. PHP and Apache combined, Apache config file changes
In C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ httpd. conf, add
Copy codeThe Code is as follows:
PHPIniDir "D: \ Program Files \ PHP \"
LoadModule php5_module "D: \ Program Files \ PHP \ php5apache2_2.dll"
3. Configure Apache config to workspace (for Eclipse debugging)
In C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ httpd. conf, modify
Copy codeThe Code is as follows:
DocumentRoot "D: \ workspaces"
......
<Directory "D: \ workspaces">
4. Set the default PHP encoding.
Add C: \ Program Files \ PHP \ php. ini
default_charset = "gb2312"
If the configuration is troublesome, you can use phpnow or apmsevr to quickly build a php runtime environment.