I hope you're all doing well. I'm currently working on a project where I need to set global environment variables for PHP in Apache. I have been searching for information on how to do this, but I haven't been able to find a clear answer.
To provide you with some context, I have a PHP application that requires certain environment variables to be set at a global level. These variables need to be accessible by all scripts running on my Apache web server. I know how to set environment variables at a script level within PHP, but I'm not sure how to set them globally.
I would greatly appreciate it if someone could guide me on how to accomplish this. Specifically, I'm looking for instructions on how to set the environment variables within the Apache configuration file or any other appropriate method that achieves the same result.
Thank you in advance for your help and suggestions!