Top "Environment-variables" questions

Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer.

How to access environment variable values?

I set an environment variable that I want to access in my Python application. How do I get its value?

python environment-variables
How to get the client IP address in PHP

How can I get the client IP address using PHP? I want to keep record of the user who logged …

php environment-variables ip-address
Adding a directory to the PATH environment variable in Windows

I am trying to add C:\xampp\php to my system PATH environment variable in Windows. I have already added …

windows command-line path environment-variables
How to add to the PYTHONPATH in Windows, so it finds my modules/packages?

I have a directory which hosts all of my Django apps (C:\My_Projects). I want to add this directory …

python windows environment-variables pythonpath
List all environment variables from the command line

Is it possible to list all environment variables from a Windows' command prompt? Something equivalent to PowerShell's gci env: (or …

windows command-line environment-variables prompt
javac is not recognized as an internal or external command, operable program or batch file

I am experiencing an error while trying to compile Java programs. I am on Windows (this is a Windows-specific problem) …

java path environment-variables command-prompt javac
How do I delete an exported environment variable?

Before installing gnuplot, I set the environment variable GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src. During the installation, something went …

linux environment-variables unset
How to set the environmental variable LD_LIBRARY_PATH in linux

I have first executed the command: export LD_LIBRARY_PATH=/usr/local/lib Then I have opened .bash_profile file: …

linux environment-variables
How do I pass environment variables to Docker containers?

I'm new to Docker, and it's unclear how to access an external database from a container. Is the best way …

docker environment-variables dockerfile
How to set environment variables in Python?

I need to set some environment variables in the Python script and I want all the other scripts that are …

python environment-variables