Virtualization: KVM
KH version: 23.2.1 (Build 3125)
Problem
I am not able to disable error_reporting to E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING in the additional PHP 7.4 parser.
Expected result
Do not show Warnings and Deprecated information at production. Actually don't show anything at all, only log.
Actual result
Still showing Warnings and Deprecated information at production
Steps to reproduce
I tried to change it in:
> GENERAL > User Administration > Editing user > PHP > Additional PHP settings:
By typing
Code: Select all
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING
Code: Select all
service keyhelp-php74-fpm restart
Code: Select all
phpinfo();
Saving, restarting php7.4, apache. No action at all.
Additional information
I did not tried to change /opt/keyhelp/php/7.4/etc/php-fpm.d/username_php74.conf because there is information that:
The weird thing is that in this file there is a line:; DO NOT CHANGE ANYTHING IN THIS FILE!
; CHANGES WILL BE LOST ON NEXT UPDATE.
Code: Select all
php_value[error_reporting] = 24565