I have php script which uses some environment variables using getenv from /etc/environment. It works fine when I run it from terminal using php command. But environment variables are not getting when running same script from nohup on terminal.
PHP is 5.3 using Debian 6.