The system must have the. NET 3.5 http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=25150 installed.
1. Install IIS
2. Download Phpmanager for IIS address: http://phpmanager.codeplex.com/releases/view/69115
Choose X32 or x64 according to your system. It is for IIS7, but it can still be used under WIN8. http://phpmanager.codeplex.com/wikipage?title=Managing%20PHP%20installations%20with% 20php%20manager%20user%20interface
2. Download PHP. Official http://windows.php.net/downloads/releases/archives/
Note: The latest version of php5.2 is 5.2.17 to be under the non-NTS version php-5.2.17-win32-vc6-x86.zip otherwise it won't fit Zendoptimizer.
php5.3 to next nth version Php-5.3.29-nts-win32-vc9-x86.zip
4. Install Phpmanager (preferably right-click to run with Administrator privileges), there is an installation note: http://phpmanager.codeplex.com/wikipage?title=Managing%20PHP% 20installations%20with%20php%20manager%20user%20interface
After you have installed it, you can open IIS Manager, double-click the Phpmanager icon->register new PHP version to add PHP versions, so easy.
Install Zendoptimizer, click the installation process to prompt operation is OK. Only php5.2 and the following versions are required to install Zendoptimizer.
5. Install MySQL. Download the appropriate version of the installation on the OK, address: http://dev.mysql.com/downloads/mysql/
Have fun!
WINDOWS8.1 PHP Environment Setup