Original post address: http://www.cnbruce.com/blog/showlog.asp? Log_id = 1113
I. Download
Http://download.csdn.net/source/1521121
Download the PHP 5.2.0 installer. You can also download it elsewhere.
2. PHP5 Installation Process
Open the installation file and start with "Next ".
Select accept Protocol
Select the PHP installation path. We recommend that you directly go to the root directory of the disk, for example, "C: \ PHP \"
Select "IIS 4 + ISAPI module" as the WEB Server Mode"
Confirm "Location" is the PHP installation directory
Install
"Finish" to complete PHP installation
3. Configure PHP
After installing PHP, you cannot use IIS to explain the PHP file. You need to configure
Open IIS, right-click the "Default site" attribute, and select "configuration" in the "main directory" category"
Click the Add button to map the application extension. The executable file is php5isapi. dll under the installed PHP Directory, And the extension is. php"
4. debug PHP
Create a folder in the local disk directory for PHP debugging, and quickly set the virtual path of the folder
Open the text editor and enter the code.
Save the file to a defined folder and enter the file name to save.
Open IIS and debug PHP files
For more information about MySQL download, installation, and usage, see:
Http://www.cnbruce.com/blog/showlog.asp? Cat_id = 29 & log_id = 1101