What should I do if IIS does not parse PHP?
Solution to IIS not parsing PHP: First open and modify the "php.ini" file; then select "Processing Mapping Function" in the functions of the website homepage and add the phpcgi module; then click "Document" , and add the index file to the default content document; finally click "OK".
Recommendation: "PHP Video Tutorial"
Step 1: Then open Windows with Notepad In the "php.ini" file under the folder, change "extension_dir = "./"" to "extension_dir = "D:\php\ext"" (your own path), and finally save it, as shown below:
Step 2: Configure php in IIS so that the site supports the use of php
1. Control Panel-"Management Tools-"Information Service Manager, Select "Processing Mapping Function" in the functions of the website homepage, add the phpcgi module, and click OK to complete.
2. Click the "Document" tab, add the three files index.htm, index.html, and index.php to the default content document, and set all the default Sort the documents as far forward as possible. After completion, click "OK" to close the site property configuration window and return to the IIS Manager main interface. (If there is no default index, you can add it yourself).
The above is the detailed content of What should I do if IIS does not parse PHP?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
