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

How to enable error prompts in PHP under IIS

藏色散人
藏色散人Original
2020-09-07 09:41:412161browse

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!

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