Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
brett_conklin
Forum Newbie
Posts: 5 Joined: Thu May 23, 2002 2:12 pm
Post
by brett_conklin » Thu May 23, 2002 2:12 pm
I noticed that most posting are in reagrds to Mysql. Rightfully so. But I am trying to connect to oracle. I undersand that I need to get the oracle module. I have two questions first, where do I find the oracle module, Second, once I have it how do I install.
Thanks
Brett
enygma
Site Admin
Posts: 175 Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx
Post
by enygma » Thu May 23, 2002 4:20 pm
Windows or Unix-based?
I'm assuming Windows, since you're talking about the module and not the libraries...
I think all you need to do is uncomment that dll in the php.ini and put it with the rest of them.
I believe that's all it takes to get it to work...
enygma
Site Admin
Posts: 175 Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx
Post
by enygma » Thu May 23, 2002 4:40 pm
so, you do have the Oracle libraries (from an Oracle client install) on the same machine?
If not, you'll need to get that installed before you can compile with the oracle stuff....
brett_conklin
Forum Newbie
Posts: 5 Joined: Thu May 23, 2002 2:12 pm
Post
by brett_conklin » Thu May 23, 2002 4:46 pm
Thanks for the reply
"so, you do have the Oracle libraries (from an Oracle client install) on the same machine? "
Yes the oracle client is installed. Sqlplus is working.
"If not, you'll need to get that installed before you can compile with the oracle stuff...."
How do I get the libs?
enygma
Site Admin
Posts: 175 Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx
Post
by enygma » Thu May 23, 2002 4:58 pm
yup - you have to configure PHP to use the oracle stuff using:
--with-oci8=/u01/app/oracle/product/8.1.6 (path to libraries)
and/or
--with-oracle=/u01/app/oracle/product/8.1.6 (path to libs)
in your PHP configure statement along with the other features you want added in...
brett_conklin
Forum Newbie
Posts: 5 Joined: Thu May 23, 2002 2:12 pm
Post
by brett_conklin » Thu May 23, 2002 6:44 pm
come to find out we did not have our DSO compiled into apache. So after an apache recompile we can recompile PHP with the oracle libs.
Ill let you know the progress. THanks for the help.
Brett