Home>Article>Backend Development> What should I do if a 500 error code appears in PHP under Windows?
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.
[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!