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

王林
Release: 2023-03-07 13:42:02
Original
3014 people have browsed it

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
Copy after login

Off represents the error prompt off.

display_errors=Off
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template