I have successfully used an environment variable in etc/sysconfig/httpd to rename an Apache Web Server process.
However, for PHP, I can't seem to be able to pick up the environment variables any where. I tried to
1) source the variable in /etc/profile.d/, restart php-fpm, does not work
2) tried to use /usr/local/etc/php-fpm.conf and restarted php-fpm, does not work either
Does anyone have a working configuration that you can share?
This is important to me as I have multiple PHP engines and Apache Web Servers serving different applications in the same host. If I am not able to spilt the process that is supporting the services, it will be very difficult for the monitoring team to isolate issues and troubleshoot faster.