Warning: Cannot set environment variable 'LANG' BUT Safe Mode is OFF

hleboeuf

Joined: 2011-09-09
Posts: 2
Posted: Fri, 2011-09-09 18:32

I'm getting error, i've seen plenty of posts daying this is a safe mode problem, i contacted my hoster and he said that safe mode is OFF, when i look to the setting is seems to be off ...

Any suggestions ? Harry.

I've copied the detail from my joomla site running on the same server ...

PHP Built On Linux srv164 2.6.32+30+vserver+sandbox #1 SMP Thu May 26 09:06:22 UTC 2011 x86_64
Database Version 5.0.51a-24+lenny5-log
Database Collation utf8_general_ci
PHP Version 5.3.8
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 1.7.0 Stable [ Ember ] 19-Jul-2011 14:00 GMT
Joomla! Platform Version Joomla Platform 11.1 Stable+Modified [ Ember ] 01-Jun-2011 06:00 GMT
User Agent Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

Safe Mode Off
Open basedir /customers/dewildeeend.be/dewildeeend.be/httpd.www:/customers/dewildeeend.be/dewildeeend.be/httpd.private:/customers/dewildeeend.be/dewildeeend.be/tmp:/var/www/diagnostics:/usr/share/php
Display Errors Off
Short Open Tags On
File Uploads On
Magic Quotes Off
Register Globals Off
Output Buffering Off
Session Save Path /customers/dewildeeend.be/dewildeeend.be/tmp
Session Auto Start 0
XML Enabled Yes
Zlib Enabled Yes
Disabled Functions disk_total_space, diskfreespace, exec, system, popen, proc_open, proc_nice, shell_exec, passthru, dl
Mbstring Enabled Yes
Iconv Available Yes

PHP Version 5.3.8

System Linux srv164 2.6.32+30+vserver+sandbox #1 SMP Thu May 26 09:06:22 UTC 2011 x86_64
Build Date Aug 26 2011 08:29:06
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5
Loaded Configuration File /etc/one.com/php/php.ini.std
Scan this dir for additional .ini files /customers/dewildeeend.be/dewildeeend.be/config/conf.d.php
Additional .ini files parsed /customers/dewildeeend.be/dewildeeend.be/config/conf.d.php/00_standard.ini, /customers/dewildeeend.be/dewildeeend.be/config/conf.d.php/10_user.ini
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626, NTS
PHP Extension Build API20090626, NTS
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support disabled
Registered PHP Streams https, ftps, compress.zlib, php, file, glob, data, http, ftp, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2011-09-09 19:17
 
hleboeuf

Joined: 2011-09-09
Posts: 2
Posted: Fri, 2011-09-09 21:20

Instead of posting a less visible listing here is the link to the file
http://www.dewildeeend.be/gallery2/phpinfo.php

Kind Regards

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2011-09-10 05:40

Your host was not forthcoming when he said safe mode was disabled as he didn't mention that you have the PHP Suhosin patch active as I suspected.

Ask the host to review review the Suhosin configuration: http://www.hardened-php.net/suhosin/faq.html#how_can_i_find_out_the_problem_when_my_application_breaks

--
dakanji.com