Home >Backend Development >PHP Tutorial >Quickly install, configure and debug PHP520 in IIS environment
Record the process to prevent forgetting and for reference only.
First, 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 go directly to the root directory of the disk, such as "C:PHP"
Select the WEB server The method is "IIS 4+ISAPI module"
Confirm that "Location" is the PHP installation directory
"Install" to install
"Finish" to complete the installation of PHP
Three, configure PHP
After installing PHP PHP files cannot be interpreted through IIS and need to be configured
Open IIS, right-click and select the properties of "Default Site", select "Configuration" in the "Home Directory" category
Click the "Add" button to add the application extension Mapping, browse the executable file for "php5isapi.dll" in the installed PHP directory, and the "extension" is ".php"
Four, debug PHP
Create a folder in the local disk directory for debugging PHP Use it to quickly set the virtual path of the folder
Open the text editor, enter the code
phpinfo(); ?> |
The above introduces the quick installation, configuration and debugging of PHP520 in IIS environment, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.