Home  >  Article  >  Operation and Maintenance  >  How to enable php error log in centos

How to enable php error log in centos

王林
王林Original
2020-05-19 15:01:332361browse

How to enable php error log in centos

1. Edit the /etc/php.ini configuration file

vim /etc/php.ini

How to enable php error log in centos

2. Modify the error prompt range

How to enable php error log in centos

3. Turn on the error prompt

How to enable php error log in centos

4. Add read and write permissions and restart related services

How to enable php error log in centos

Recommended tutorial: centos tutorial

The above is the detailed content of How to enable php error log in centos. 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