php-fpm : display_error config Hint

Client Browser Display Error Config

vi /etc/opt/remi/php56/php.ini

display_errors = Off

;display_errors = On

;log_errors = On

log_errors = Off

;html_errors = On

html_errors = Off

 

Sever Error Log Config

vi /etc/opt/remi/php56/php-fpm.conf 

;log_level = notice

log_level = error

 

vi /etc/opt/remi/php56/php-fpm.d/www.conf

php_admin_value[error_log] = /var/opt/remi/php56/log/php-fpm/www-error.log

php_admin_flag[log_errors] = on