Record the process in case of forgetting, just for reference.
one, where to get PHP
Open the download page of the official PHP website: http://www.php.net/downloads.php
Select the "PHP 5.2.0 installer [18,879kb]-Nov 2006" link for download
two, PHP5 installation process
Open the installation file, "Next" start
Choose to accept the agreement
Select the PHP installation path, recommended directly in the disk root directory, such as "C:\PHP\"
Select Web server as "IIS 4+ISAPI module"
Confirm "Location" for PHP installation directory
"Install" for installation
"Finish" to complete the installation of PHP
Third, configure PHP
After installing PHP, you cannot explain PHP files through IIS, you need to configure
Open IIS, right-click the properties of the default site, and select Configure in the home directory category
Click the Add button to map the application extension and browse for the executable file as "Php5isapi.dll" under the installed PHP directory, with the extension ". php"
four, debugging PHP
Create a folder in the local disk directory for debugging PHP, and quickly set the virtual path for the folder
Open a text editor, enter the code
Save the file in a defined folder and enter the save file name
Turn on IIS to debug PHP files
at the same time, for MySQL download, installation and use, see:
Http://www.cnbruce.com/blog/showlog.asp?cat_id=29&log_id=1101