When changing Apache Directives it is possible to also modify the FPM pool since everything is handled by the same plugin. If I add a directive like: SetEnv PHP_VALUE "doc_root = /web/current/web" I need the FPM pool to be reloaded. Would you guys agree that changing Apache Directives should also trigger restartPHP_FPM? If so, I am happy to send a PR.
Changing php version/mode/settings should reload trigger php daemon reloads, there's no reason to reload php if all you are changing is for the web server. Offhand, what are you trying to accomplish? Setting an environment variable for your web server will not propagate to the php daemon, as they are completely separate, communicating only over a socket.
Thanks, you are right. Somehow I thought I had run into a problem with what I was trying to accomplish, but I am now unable to reproduce the problem. Disregard this thread.