Home > Backend Development > PHP Problem > How to enable error prompts in PHP under IIS

How to enable error prompts in PHP under IIS

藏色散人
Release: 2023-03-05 19:06:02
Original
2253 people have browsed it

How to enable error prompts in PHP under IIS: first find and open the php.ini configuration file; then change [display_errors = off] to [display_errors = on].

How to enable error prompts in PHP under IIS

php is affected by many configurations, including php.ini configuration and php configuration. If the program code itself does not turn off the error display, php.ini configuration Just set display_errors to on.

Recommended: "php video tutorial"

Specific method:

First find and open the "php.ini" configuration file;

Then set the parameter of the "display_errors" item to "on".

The above is the detailed content of How to enable error prompts in PHP under IIS. 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template