madunix at gmail.com
Tue Aug 26 10:01:03 UTC 2008
i did the following, created a startup script
[pons at king script]$ cat start_apache.sh
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
and call it from the rc.local...
On Tue, Aug 26, 2008 at 11:16 AM, Ian Forde <ian at duckland.org> wrote:
> On Tue, 2008-08-26 at 10:42 +0200, Ralph Angenendt wrote:
> > Mad Unix wrote:
> > > Am running Oracle10g on the server, I do OCI connection from php/apache
> > > my DB 10g
> > > so how would you insert the values to apache...
> > To quote John (reading helps!):
> > | you would put those variable assignments in the front of
> > Though I still don't understand why that would be needed.
> I've run into this... the OCI component needs some information about
> where Oracle is... my advise would be to *NOT* modify
> the /etc/init.d/httpd script. Better to put the declarations
> into /etc/sysconfig/httpd. That's what the file is there for, and if
> you upgrade the Apache RPM, you don't have to worry about your startup
> script mods...
> CentOS mailing list
> CentOS at centos.org
"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...
More information about the CentOS