Home> Topics> IIS> body text

iis configuration php failed

王林
Release: 2019-10-16 18:01:16
Original
2982 people have browsed it

iis configuration php failed

Method 1:

1. We open the "Management Tools" in the "Control Panel" and open the iis Information Service Manager

2. After entering, we select the application pool and click "Set application pool default settings" on the right

3. Then in General, we set it to "Enable 32-bit applications" "True", set "Hosted Pipeline Mode" to "Classic", just confirm After that, a 500 error occurs. It may be because there is no php and the error prompt is not enabled, so we need to open "PHP.ini" and then set the display error:

display_errors=On
Copy after login

After setting it up, just restart FastCGI. .2. If there is an internal server error, the reason lies in the "require(./xxx.php)" statement in the "index.php" file, so we change "require(./xxx.php)" .php)" to "require(xxx.php)", and then give the iis user read permission to the upper-level directory of the website.

Recommended tutorial:

PHP video tutorial

The above is the detailed content of iis configuration php failed. For more information, please follow other related articles on the PHP Chinese website!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!