I'm exploring a PHP project which run on Ubuntu. As I checked phpinfo()
I can see the environment variable ENV's value: production.
I don't know where that variable is stored? I have checked the file /etc/environment and /etc/profile to see if it's stored as system variable but nothing's there.
Now, i really don't know how to clear or set that value.
These settings are stored in php.ini file. You can find this file by typing: php --ini Make sure you don't editing cli version of file.