Dedicated Environment variable
Posted by: matm (
Date: August 28, 2020 05:02PM


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: []

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


Edited 1 time(s). Last edit at 08/28/2020 05:13PM by matm.

Options: ReplyQuote

Sorry, only registered users may post in this forum.