0

currently I'm trying to setup environment variables for Apache in CentOS 5.5

According with CentOS manual and this post they should be placed in /etc/sysconfig/httpd but doing that I get Undefined index myvar

env_module is enabled so that's not the problem.

So exactly how do I setup such variables for HTTP access only?

Regards

2
  • Tell us exactly what you added to /etc/sysconfig/httpd and where you are seeing the error.
    – wfaulk
    Sep 15, 2015 at 22:57
  • there is no error but is not taking defined variables for webserver. I added some variables to use as $_SERVER['MY_VAR']: export MY_VAR=value1
    – Néstor
    Sep 22, 2015 at 20:21

0

You must log in to answer this question.

Browse other questions tagged .