Hello,

the following problem occurs on a SLES11 apache2 web server with
PHP/ORACLE modules:

In order to configure PHP/OCI8 modules, we need to set an environment
variable:
TNS_ADMIN=/etc

This helps the OCI8 module to find its configuration files.

This must be set before the web server starts.

After many failures (other options like putting it in profile.local do
NOT work),
the only working solution for us is to append the following line in
/etc/sysconfig/apache2 manually:
export TNS_ADMIN=/etc

This works fine, the apache environment is set correctly,
however, the only problem is that after the next YAST Konfiguration
warns about
overwrites and this will be lost.

Is there any other place where we can put this in safely without
hassles?

Many thanks in advance,

kind regards

stagyy


--
stagyy
------------------------------------------------------------------------
stagyy's Profile: http://forums.novell.com/member.php?userid=114671
View this thread: http://forums.novell.com/showthread.php?t=445090