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 .
【Related learning recommendations: php graphic tutorial】
How to set php not to display the page:
1. Open the php configuration file php.ini;
2. Remove it Semicolon before error_reporting;
3. Set to: error_reporting = E_ALL & ~E_NOTICE
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!