Apache 2.4.7 does not set environment vars. Checked with "Apache2 -V" just after installation.

Asked by Marcio Correa on 2015-06-25

I've been trying to discover why apache 2.4.7 does not "source" its envvars, by default, in ubuntu 14.04!?
Running "apache2 -V", we can confirm this issue getting several error messages.
However, running "source /etc/apache2/envvars" everything is set!?
Is it really a bug or something else?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
2015-06-25
Last reply:
2016-03-27
Marcio Correa (m2ac-br) said : #1

I've been trying to discover why apache 2.4.7 does not "source" its envvars, by default, in ubuntu 14.04!?
Running "apache2 -V", we can confirm this issue getting several error messages.
However, running "source /etc/apache2/envvars" everything is set!?
Is it really a bug or anything else?

As you have reported qaswe bug you don't need a question as well.

Stefan Fritsch (sf-sfritsch) said : #3

Use 'apachectl -V' instead of calling apache2 directly

Can you help with this problem?

Provide an answer of your own, or ask Marcio Correa for more information if necessary.

To post a message you must log in.