Home>Article>Backend Development> How to turn off error log in php

How to turn off error log in php

王林
王林 Original
2020-09-29 11:03:46 3355browse

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; 关闭错误日志

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!

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