Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of not displaying the content of php pages

Shulou Source: shulou.com Published: 2022-06-03 05:20:59 11月22日 Update

This article mainly introduces "how to solve the php web content does not display the problem", in daily operation, I believe many people in how to solve the php web content does not display the problem there are doubts, small series consulted all kinds of information, sorting out simple and easy to use operation methods, hope to answer everyone "how to solve the php web content does not display the problem" doubts help! Next, please follow the small series to learn together!

Solution: 1. Open php.ini configuration file;2. Cancel error_reporting comment and set it to [error_reporting=E_ALL&~E_NOTICE];3. Restart server.

Operating environment: windows 10 system, php 7, thinkpad t480 computer.

Question:

Accidentally found open web pages displayed blank pages, before the normal display content. The website has been working fine on the server, and other connections are working fine.

Solution:

1. Open the php configuration file php.ini;

Remove the semicolon before error_reporting;

Error_reporting = E_ALL & ~E_NOTICE

Restart the Apache server.

At this point, on "how to solve the php web content does not display the problem" learning is over, I hope to solve everyone's doubts. Theory and practice can better match to help you learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

Tags: Content web pages questions learning methods servers services files more websites help configuration utility next semicolons articles comments environment theory computer Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft vpn NVidia Apple