2008/8/11 Per Jessen
Ciro Iriarte wrote:
Is there any elegant-already-thought way of setting environment variables for apache2? (that means not touching /etc/init.d/apache2),
SetEnv ?
i've added oci8 support for apache2 on a server and defined variables in '/etc/profile.d' which allows me to start apache2 with oci8 support, BUT if the server is restarted apache2 starts without oci8 module and I have to restart manually.
Ah, then just add them to the command line via /etc/sysconfig/apache2 : "-Dxxxxx"
/Per Jessen, Zürich
Hi, tried setting them in /etc/sysconfig/apache2, but didn't work after reboot. --------- APACHE_SERVER_FLAGS="SSL ORACLE_HOME=/opt/oracle/instantclient_11_1 TNS_ADMIN=/opt/oracle/instantclient_11_1/network/admin LD_LIBRARY_PATH=/opt/oracle/instantclient_11_1" ---------- Ciro