change to php-fpm conf files
Hi, I read on the forum to edit /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml and add what we need. We have in that file:
php_value[error_reporting]: 22517
This indeed duplicate to the all php-fpm conf files, however the default error_reporting line is still there, so we have in a domain php-fpm conf file this:
php_value[error_reporting] = 22517
php_value[error_reporting] = E_ALL & ~E_NOTICE
To be honest, the first line is what's working. We see the errors we want to see in the logs. However we're afraid of unpredicted results. How can we remove the second line?
Thanks
-
Hello @uadm, We have in that file: php_value[error_reporting]: 22517
Here's how the syntax should look in the example you provided:--- php_value_error_reporting: { name: 'php_value[error_reporting]', value: 22517 }
Can you confirm that updating the syntax and running "/scripts/php_fpm_config --rebuild" solves the issue? Thank you.0 -
Yes, this works. Thank you. 0 -
Hello, I'm glad to see that helped. I've marked this thread as solved. 0
Please sign in to leave a comment.
Comments
3 comments