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

How to set php not to display the page

coldplay.xixi
coldplay.xixiOriginal
2020-08-27 10:48:092485browse

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!

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