Hello,
I need to set an environment variable to override a setting in a module.
As apache is running as localSystem, if I set my variable as a system variable, it works.
But if I leave it as is, I can't use related program, because I also inherit the environment variable.
I would like to know if there is a way to set an OS Environment Variable "dynamically" to avoid this.
For Linux systems, there are some files: [serverfault.com]
My only track is to create a dedicated user and use it to run wampapache, but I'm not even sure it's supported.
A success is seeing the variable in the Environment block of the phpinfo page.
Thanks for your help
Mathias
I need to set an environment variable to override a setting in a module.
As apache is running as localSystem, if I set my variable as a system variable, it works.
But if I leave it as is, I can't use related program, because I also inherit the environment variable.
I would like to know if there is a way to set an OS Environment Variable "dynamically" to avoid this.
For Linux systems, there are some files: [serverfault.com]
My only track is to create a dedicated user and use it to run wampapache, but I'm not even sure it's supported.
A success is seeing the variable in the Environment block of the phpinfo page.
Thanks for your help
Mathias