[BlueOnyx:01382] Re: PHP help

support support at eceb.co.uk
Wed Jun 10 14:13:13 PET 2009

This is a problem with php.ini and safe mode. Look in the php.ini - there an
option called "safe_mode_allowed_env_vars". You need to add your specific
safe_mode_allowed_env_vars = LANG


-----Original Message-----
From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]On
Behalf Of Tony C. Loosle
Sent: 10 June 2009 16:44
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:01380] PHP help

I have a script that gives an error:

PHP Warning:  putenv(): Safe Mode warning: Cannot set environment variable
'LANG' - it's not in the allowed list in
/home/.sites/31/site216/web/init.php on line 27

I have added the LANG to the php variable in the gui, does not fix the

I know I am missing something??  Anyone with an idea?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090610/2078ecd8/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00130.txt
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090610/2078ecd8/attachment-0002.txt>

More information about the Blueonyx mailing list