Oracle support in PHP?
John Korchok
jkorchok at hotmail.com
Tue Dec 11 20:11:56 PST 2007
> -----Original Message-----
> From: Ryan Schmidt [mailto:ryandesign at macports.org]
> Sent: Monday, December 10, 2007 5:55 PM
> To: John Korchok
> Cc: macports-users at lists.macosforge.org
> Subject: Re: Oracle support in PHP?
>
>
> On Dec 10, 2007, at 16:42, John Korchok wrote:
>
> > I had no errors or other problems installing the "oracle-
> > instantclient" port or the "php5 +oracle" port. Thanks Ryan!
>
> Oh good!
>
>
> > I am assuming I still need to modify php.ini to point at
> oci8.so, but
> > I can't find it (oci8.o is there). I did find the libraries
> under lib/
> > oracle.
>
> Nope, nothing needs to be done in that regard. There is no
> oci8.so or any other separate file. The oci8 functions have
> simply been compiled into php and libphp5.so.
>
>
> > http://www.php.net/oci8 is just baffling. It reads like a pile of
> > potentially useful but untested information. Using the
> Instant Client
> > (as they recommend) does not create an oracle user or
> group, as far as
> > I can tell.
>
> I didn't program any user or group creation into the oracle-
> instantclient portfile, no. Should I have? What would that
> user/group be used for?
>
> The page is certainly Greek to me, since I haven't used Oracle.
When I run phpinfo, the last configure command is:
'--with-oci8=instantclient,/opt/local/lib/oracle'
At http://www.oracle.com/technology/pub/notes/technote_php_instant.html,
under the heading "Enabling the PHP OCI8 Extension on Linux " they suggest a
syntax like:
'--with-oci8-instant-client=/opt/local/lib/oracle'
Phpinfo has an oci8 section further, and it looks like it is getting
installed.
More information about the macports-users
mailing list