Home >Backend Development >PHP Tutorial >Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial
Record the process to prevent forgetting and for reference only.
1. Where to get PHP
Open the download page of the PHP official website: http://www.php.net/downloads.php
Select the "PHP 5.2.0 installer [18,879Kb] - 02 Nov 2006" link to download
Second, PHP5 installation process
Open the installation file, "Next" to start
Choose to accept the agreement
Select the PHP installation path, it is recommended to directly In the root directory of the disk, such as "C:PHP"
Select the WEB server mode as "IIS 4+ISAPI module"
Confirm "Location" is the PHP installation directory
"Install" to install
"Finish" Complete the installation of PHP
3. Configure PHP
After installing PHP, the PHP file cannot be interpreted through IIS. You need to do this. Configuration
Open IIS, right-click and select the properties of "Default Site", select "Configuration" in the "Home Directory" category
Click "Add" button to map the application extension. The browse executable file is "php5isapi.dll" in the installed PHP directory, and the "extension" is ".php"
Fourth, debug PHP
Create a folder in the local disk directory for debugging PHP, and quickly set the virtual path of the folder
Open the text editor and enter the code
?> |