From: <d9...@na...> - 2001-01-29 22:08:28
|
On Mon, Jan 29, 2001 at 05:49:46PM +0100, Pablo Roca Rozas wrote: > "Warning: Safe Mode: Cannot set environment variable 'LANG' - it's not = in > the allowed list in /home/user/p/r/o/proca/www/lib/config.php on line 1= 40" >=20 > and in config php line 140 the code is: >=20 > putenv ("LANG=3D$LANG"); >=20 > I use the default lang C , I think this is a ISP issue nd I asked him f= or > this error, but till now no replies. Yes. This is a normal ISP issue. Your ISP has set PHP in safe mode. This means that you can't store environment variables that doesn't begin with the prefix stored in the variable safe_mode_allowed_env_vars in the php configuration file (/etc/php.ini on my RedHat system). That prefix is usually PHP_ The LANG environment variable is used when you want translations of PhpWiki. --=20 ___\ Jon =C5slund |