where to add the exporting of some variables to apache environment

Saytik

Member
Jul 2, 2011
18
0
51
Hello,

I have added in /etc/init.d/httpd

export HTTPD_LANG=en_US.utf8
export LC_ALL=en_US.utf8

but the setting was cleared. Where i can add this variables for apache environment ?

apache version 2.4 (in apache 2.2 the setting was added in /etc/sysconfig/httpd HTTPD_LANG=en_US.UTF-8, but i haven't found this file with apache 2.4 on cpanel server)