Re: PHP with Apache2 and Oracle 10g

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Other than that, the variables I set were:
> ORACLE_HOME /usr/oracle/product/10.1.0/Db_1
> ORACLE_SID currel
> LD_LIBRARY_PATH  /usr/oracle/product/10.1.0/Db_1/lib
> LD_PRELOAD /usr/oracle/product/10.1.0/Db_1/lib/libclntsh.so.10.1

Are these variables set in your Apache startup script?  We use a
file /etc/sysconfig/httpd which contains all our ORacle settings with
export ORACLE_HOME=/path/to/oracle
export ORACLE_SID=SID
etc.

Then /etc/init.d/httpd sources /etc/sysconfig/httpd before running
apachectl.

/Brian/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux