Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

where to add the exporting of some variables to apache environment

Discussion in 'EasyApache' started by Saytik, May 5, 2015.

  1. Saytik

    Saytik Member

    Joined:
    Jul 2, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    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)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice