How to turn off error log in php

王林
Release: 2023-03-06 09:48:02
Original
3377 people have browsed it

How to turn off the error log in php: first open the php.ini configuration file; then modify the configuration [log_errors = Off;] to turn off the error log; and finally restart the web server.

How to turn off error log in php

Specific method:

(Recommended tutorial: php video tutorial)

First open php .ini configuration file;

Then make the following modifications to the configuration:

log_errors = Off;    关闭错误日志
Copy after login

After the PHP configuration file is set as above, just restart the Web server.

Related recommendations: php training

The above is the detailed content of How to turn off error log in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!