Hi, I have to connect to a Oracle Database through Apache/PHP. To do so I have to set some environmet variables. In the start() function (/etc/init.d/apache2) you start the daemon in an empty environment (env -i) and don't read /usr/lib/apache2/build/envvars after that. I haven't found another place where I can change the env for apache2. When you search google for setting env in apache2, it mostly points to envvars. I think it would be a good idea to consider this. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 28776 [details, diff] Patch for Apache2 init script, to use environement variables. This small patch is for /etc/init.d/apache, it allow to use /etc/env.d/apache to store environement variables. I don't know if it's the right thing to do.but it sounds ok to me.
Fixed in cvs, please see changelog.