Home > Article > Backend Development > What should I do if the content of the php web page is not displayed?
Solution to the problem that php web page content is not displayed: 1. Open the php.ini configuration file; 2. Uncomment error_reporting and set it to [error_reporting=E_ALL&~E_NOTICE]; 3. Restart the server.
The operating environment of this article: windows10 system, php 7, thinkpad t480 computer.
Problem:
I accidentally discovered that when opening a web page, a blank page was displayed. Before, the content was displayed normally. The website has always been normal on the server, and other connections are also normal.
Solution:
1. Open the php configuration file php.ini;
2. Remove the semicolon before error_reporting;
3. Set it to :error_reporting = E_ALL & ~E_NOTICE
4. Restart the apache server.
Recommended learning: php training
The above is the detailed content of What should I do if the content of the php web page is not displayed?. For more information, please follow other related articles on the PHP Chinese website!