Home  >  Article  >  Backend Development  >  How to solve the problem that php does not report an error

How to solve the problem that php does not report an error

王林
王林Original
2020-11-09 10:38:313013browse

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.

How to solve the problem that php does not report an error

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!

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