Home > Backend Development > PHP Tutorial > Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

WBOY
Release: 2016-07-21 15:58:32
Original
1004 people have browsed it

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

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Second, PHP5 installation process

Open the installation file, "Next" to start

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Choose to accept the agreement

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Select the PHP installation path, it is recommended to directly In the root directory of the disk, such as "C:PHP"

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Select the WEB server mode as "IIS 4+ISAPI module"

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Confirm "Location" is the PHP installation directory

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

"Install" to install

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

"Finish" Complete the installation of PHP

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

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

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

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"

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Fourth, debug PHP

Create a folder in the local disk directory for debugging PHP, and quickly set the virtual path of the folder

Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Open the text editor and enter the code


phpinfo();
?>

phpinfo();
?>
Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial

Save the file in the defined folder and enter the save file name


Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial
Open IIS to debug the PHP file
Quickly install, configure and debug PHP5.2.0 in IIS environment_PHP tutorial



At the same time, for MySQL download, installation and usage, please refer to:

http://www.cnbruce.com/blog/showlog .asp?cat_id=29&log_id=1101 http://www.bkjia.com/PHPjc/317587.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317587.html
TechArticleRecord the process to prevent forgetting, for reference only. 1. Where to get PHP Open the download page of the PHP official website: http://www.php.net/downloads.php Select "PHP 5.2.0 installer [18,879Kb] - 02...
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