Home > Backend Development > PHP Problem > How to set php not to display the page

How to set php not to display the page

coldplay.xixi
Release: 2023-03-05 10:18:02
Original
2578 people have browsed it

How to set php not to display the page: first open the php configuration file [php.ini]; then remove the semicolon before [error_reporting]; then set [error_reporting = E_ALL & ~E_NOTICE]; finally restart the apache server .

How to set php not to display the page

Related learning recommendations: php graphic tutorial

How to set php not to display the page:

1. Open the php configuration file php.ini;

How to set php not to display the page

2. Remove it Semicolon before error_reporting;

How to set php not to display the page

3. Set to: error_reporting = E_ALL & ~E_NOTICE

How to set php not to display the page

4. Restart apache server, the problem will be solved.

If you want to know more about related learning, please pay attention to the php training column!

The above is the detailed content of How to set php not to display the page. 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