I have some variables written in /etc/environment
NLS_DATE_FORMAT=DD/MM/YYYY
NLS_DATE_LANGUAGE=SPANISH
NLS_LANG=SPANISH_SPAIN.WE8ISO8859P1
However, when I open the shell in Ubuntu and I start lampp (sudo /opt/lampp/lampp start), the environment variables don't appear in phpinfo. I'm using Ubuntu 10.4
How can I make Apache2 aware of the variables?
Please help
Thank you
/opt/lampp/lampp
?#!/bin/bash
SetEnv
directive in your Apache config file if that's the only place you really need those variables.