[CentOS] apache

Tue Aug 26 05:46:27 UTC 2008
Mad Unix <madunix at gmail.com>

How can I pass the following Oracle 10g variables to my apache?

ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm-yyyy ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32
PATH


I start my apache through service httpd start...
[root at king script]# ps -ef | grep apache
apache   28494 15315  0 04:02 ?        00:00:01 /usr/sbin/httpd -k start
apache   28495 15315  0 04:02 ?        00:00:01 /usr/sbin/httpd -k start
apache   28496 15315  0 04:02 ?        00:00:00 /usr/sbin/httpd -k start
apache   28497 15315  0 04:02 ?        00:00:01 /usr/sbin/httpd -k start
apache   28499 15315  0 04:02 ?        00:00:01 /usr/sbin/httpd -k start
apache   28500 15315  0 04:02 ?        00:00:01 /usr/sbin/httpd -k start
apache   28502 15315  0 04:02 ?        00:00:00 /usr/sbin/httpd -k start
apache   28503 15315  0 04:02 ?        00:00:00 /usr/sbin/httpd -k start
root     31178 16299  0 08:36 pts/2    00:00:00 grep apache


Thanks
-- 
Madunix_at_Gmail
Sysadmin

"Computers are useless. They can only give you answers" - Pablo Picasso
"Never trust a computer you can't throw out a window." - Steve Wozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080826/8b195b0d/attachment-0004.html>