Home > Backend Development > PHP Problem > How to set php not to display notice information

How to set php not to display notice information

王林
Release: 2023-03-05 17:52:02
Original
2847 people have browsed it

How to set php not to display notice information: first open the "php.ini" configuration file; then modify the configuration [error_reporting=E_ALL & ~E_NOTICE] and save the file; finally restart apache.

How to set php not to display notice information

Specific method:

(Related tutorial recommendations: php video tutorial)

Open first php configuration file php.ini;

How to set php not to display notice information

Then remove the semicolon before error_reporting;

How to set php not to display notice information

Then change it to: error_reporting = E_ALL & ~E_NOTICE

How to set php not to display notice information

(Related recommendation: php training)

Finally restart the apache server.

The above is the detailed content of How to set php not to display notice information. 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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template