Home > Article > Backend Development > How to solve the problem that php does not report an error
Solution to php not reporting errors: First open the php.ini configuration file; then modify the configuration [display_errors=On], and save the configuration; finally restart the apache service.
Solution:
(Video tutorial recommendation: java video tutorial)
Open PHP The configuration file php.ini
is found in the file.
On represents the error prompt on.
display_errors=On
Off represents the error prompt off.
display_errors=Off
Modify the file and save it. , and restart the apache service.
Related recommendations: php training
The above is the detailed content of How to solve the problem that php does not report an error. For more information, please follow other related articles on the PHP Chinese website!