Home  >  Article  >  Backend Development  >  Getting Started with PHP: How to Install and Configure PHP in IIS_PHP Tutorial

Getting Started with PHP: How to Install and Configure PHP in IIS_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:30:17894browse

The premise is that your iis has been installed successfully and your php installation package has been downloaded.

As for the installation of iis, you can find a Windows xp disk, and the php installation package can be downloaded from www.php.com.

1. Unzip the software package to c:php5

2. Then copy all the dll files in the directory to c:winntsystem32. Do not overwrite the existing dll files; then copy the two files php.exe and php.ini-dist in the directory to c:winnt. Next

3. Rename c:winntphp.ini-dist to php.ini

4. Open "Programs" => "Management Tools" => "Internet Service Manager" under the "Start" button. Next, select the "Home Directory" page, click the "Configure" button under "Application Settings", click the "Add" button in the new window; enter "C:WINNTphp.exe %" in "Executable File" s %s", enter ".php" in "Extension", and click "OK".

5. Next, select the "ISAPI Filter" page and click the "Add" button; enter "php" in the "Filter Name" and "C:WINNTsystem32php5isapi.dll" in the "Executable File". Click OK.

6. Select the "Document" page, click the "Add" button; enter "index.php" in the "Default Document Name", click "OK", and raise it to the highest level. You can also add commonly used PHP file names, such as: "default.phtml", "index.php3", etc.

Close all windows and restart the system, then open the IE browser for testing.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/509190.htmlTechArticleThe premise is that your iis has been installed successfully and your php installation package has been downloaded. As for the installation of iis, you can find a Windows xp disk, and the php installation package can be downloaded from www.php.com. ...
Statement:
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