Home >Backend Development >PHP Problem >How to disable NOTICE output in php

How to disable NOTICE output in php

藏色散人
藏色散人Original
2020-08-07 11:07:102681browse

How to disable NOTICE output in php: first find and open the "php.ini" file; then modify the content to "error_reporting=E_ALL & ~E_NOTICE"; finally save the modification.

How to disable NOTICE output in php

Recommended: "PHP Video Tutorial"

php prohibits NOTICE output

Change error_reporting in the php.ini file to:

error_reporting=E_ALL & ~E_NOTICE

The above is the detailed content of How to disable NOTICE output in php. 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