Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SrWebDeveloper

macrumors 68000
Original poster
Dec 7, 2007
1,871
4
Alexandria, VA, USA
Help! :confused:

I need easy to follow configuration instructions to get Oracle 11G to work with PHP 5.3.0 (specifically) on my Red Hat Enterprise, 5:

PHP 5.3.0
Oracle 11G (server is remote) - Instant Client / OCI-8
Apache 2.2

I've already installed these RPM's successfully:

oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm
oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm
php-5.3.0-1.el5.remi.i386.rpm
php-common-5.3.0-1.el5.remi.i386.rpm
php-cli-5.3.0-1.el5.remi.i386.rpm

Note: I got the Oracle RPM's from the Oracle site and all the PHP RPM's from the Remi Collette repository (as RHN's latest package is only 5.1, which I found disgusting).

Please note the Oracle help page found here is for PHP 5.2 which is highly frustrating because OCI8 is no longer PECL in 5.3.0. I found lots of help for older versions.

When done following your advice I'll do all the connection testing in terms of PHP code and ocilogin, etc, but I do at least expect to see OCI listed in phpinfo output which is my goal right now. Thanks! :cool:

-jim
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.