Home > Backend Development > PHP Tutorial > Quickly install, configure and debug PHP520 in IIS environment

Quickly install, configure and debug PHP520 in IIS environment

WBOY
Release: 2016-07-29 08:35:43
Original
996 people have browsed it

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
 IIS环境下快速安装、配置和调试PHP520
Second, PHP5 installation process
Open the installation file, "Next" to start
 IIS环境下快速安装、配置和调试PHP520
Choose to accept the agreement
 IIS环境下快速安装、配置和调试PHP520
Select the PHP installation path, it is recommended to go directly to the root directory of the disk, such as "C:PHP"
 IIS环境下快速安装、配置和调试PHP520
Select the WEB server The method is "IIS 4+ISAPI module"
 IIS环境下快速安装、配置和调试PHP520
Confirm that "Location" is the PHP installation directory
 IIS环境下快速安装、配置和调试PHP520
"Install" to install
 IIS环境下快速安装、配置和调试PHP520
"Finish" to complete the installation of PHP
 IIS环境下快速安装、配置和调试PHP520
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
 IIS环境下快速安装、配置和调试PHP520
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"
 IIS环境下快速安装、配置和调试PHP520
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
 IIS环境下快速安装、配置和调试PHP520
Open the text editor, enter the code


phpinfo();
?>

to save the file In the defined folder, enter the save file name
 IIS环境下快速安装、配置和调试PHP520
Open IIS to debug the PHP file
 IIS环境下快速安装、配置和调试PHP520
 IIS环境下快速安装、配置和调试PHP520
At the same time, for the download, installation and usage of MySQL, please see:
http://www.cnbruce. com/blog/showlog.asp?cat_id=29&log_id=1101

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template