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].
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!