On a new server, install a new website, which was only placed on one website before. It is configured by the server vendor and is a non-integrated environment.
A new site was added and the path was set, but a 500 error occurred during access. The prompt seems to be a problem with PHP, but the previous website was running discuz and everything was normal. However, when I added a new website, an error was reported. The same error occurs when executing the phpinfo statement.
After some Baidu, the solution is as follows.
Open iis, application pool. Select Set Application Pool Default Settings on the right.
In the pop-up window, find the logo and click on the small square on the right.
Change the value to LocalSystem. Restart IIS and the problem will be solved.
The above is the entire content of this article, I hope you all like it.
【Related recommendations】
1.Detailed explanation of cgi writing data example code to text or database
2.Share Example tutorial on running Python scripts using CGI on IIS
3.Using CGI module to create a simple web page tutorial example
4.Share An example tutorial of Python CGI programming
5.Detailed explanation of XML and sample code of modern CGI applications
6.What is CGI? Detailed introduction to Python CGI programming