iis7 Method to set PHP pseudo-static: 1. Download the urlrewrite extension module; 2. Install the rewrite module; 3. Open the Internet Information Service Manager and enter the relevant site; 4. Import the [.htaccess] file, Click [Apply].
Specific method:
(Recommended tutorial:php video tutorial)
1. First of all Just go to the IIS official website to download a urlrewrite extension module
2. Install the rewrite module
I downloaded the local msi package (rewrite_2.0_rtw_x64.msi), double-click to install it (if IIS If the service is not stopped, you will be asked to restart the system after the installation is completed.)
(Note: It is recommended to use the web platform installation method, which can be installed directly)
3. At this time, try again Enter the "Internet Information Services (IIS) Manager", you can see that there is an additional Url Rewrite module in the module, and enter the relevant sites that need to be set up to be pseudo-static.
4. Enter the site that needs to be set, double-click the Url Rewrite icon to enter the setting interface. You can configure it yourself, or you can import the .htaccess file
6. After confirming that it is correct, click the "Apply" button.
Related recommendations:php training
The above is the detailed content of How to set php pseudo-static in iis7. For more information, please follow other related articles on the PHP Chinese website!