Home > Article > Backend Development > What should I do if http error 500.0 occurs in php?
Solution to http error 500.0 when php occurs: First click [Control Panel, Programs and Features, Turn On and Off] and turn on the local IIS function; then turn on Enable 32-bit applications in the application pool default settings program; after the final installation, restart IIS.
Solution to http error 500.0 in php:
1. From the Control Panel, Programs and Features, open and turn off the local IIS function.
2. Install the php5.5.20 installation package 32-bit. Even in the win7 64-bit system, enable 32-bit applications in the default settings of the application pool. It works fine.
3. After completion, an http 500.0 error will appear when starting the PHP website, as shown below. If other methods cannot be solved after trying other methods, it is usually the VC11 required for php5.5 to run. The library is not installed or the installed version is incorrect.
4. For 32-bit php5.5, you must download the 32-bit VC11 runtime library. If you install a 64-bit 500 error, it cannot be solved.
#5. After installation, restart IIS, open the php website, and the http error 500.0 disappears.
Related learning recommendations: PHP programming from entry to proficiency
The above is the detailed content of What should I do if http error 500.0 occurs in php?. For more information, please follow other related articles on the PHP Chinese website!