Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Dedicated Environment variable (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>