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.
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!