PHP and PHP-FPM configuration

1 week ago 4
ARTICLE AD BOX

Please tell me, how exactly does the combination of php and php-fpm configs work?

The situation is this: in php.ini, I set the directive disable_classes = ReflectionClass, in the php.conf (php-fpm) file php_admin_value[disable_classes] = 'ReflectionFunction'.
In my understanding, I redefined the directive in the pool. I check by opening the page in the browser with phpinfo(), I see that in the row disable_classes, value and master_value are ReflectionFunction. I call the ReflectionClass and ReflectionFunction classes in turn, and I get two warnings that they are off.

Why are the values combined, and the most curious thing is why do I see only one disabled class in phpinfo?


enter image description here


P.S. IDK if it's necessary to mention it, but I'll do it just in case. This is a duplicate question.

Read Entire Article