Home>Article>Backend Development> What should I do if a 500 error code appears in PHP under Windows?

What should I do if a 500 error code appears in PHP under Windows?

coldplay.xixi
coldplay.xixi Original
2020-09-07 10:42:58 2970browse

Solution to the 500 error code in PHP under Windows: First open the Internet Information Services Manager and find [Application Pool]; then click [Your Program Pool] and select [Advanced Settings]; then find [ Logo] option, select LocalSystem; finally restart the IIS server.

What should I do if a 500 error code appears in PHP under Windows?

[Related learning recommendations:php programming(video)]

Solution to error 500 in windows php:

Step 1: Open the Internet Information Services (IIS) Manager, in the tree on the left Find "Application Pool" in the list

Step 2: Right-click "Your Application Pool" in the list on the right to pop up the menu, select "Advanced Settings", and the "Advanced Settings" dialog box will pop up

Step 3: Find the "Identification" option, click the square button on the right, select "LocalSystem" from the drop-down menu of "Built-in Account" in the "Application Identification" dialog box, and then restart the IIS server. At this point, This problem is completely solved.

If you want to know more about programming learning, please pay attention to thephp trainingcolumn!

The above is the detailed content of What should I do if a 500 error code appears in PHP under Windows?. For more information, please follow other related articles on the PHP Chinese website!

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