Good news everyone. We've just released a set of RPMs for PHP which include OCI8 and the Oracle PDO driver, as well as many other PHP extensions. These are for development testing only, as Oracle doesn't support them. The RPMs are based on PHP 5.2.3.
You can download the PHP RPMs from the oss.oracle.com site.
To install them:
As root, run:
rpm -ivh php-common-5.2.3-1.i386.rpm
php-cli-5.2.3-1.i386.rpm php-5.2.3-1.i386.rpm
To verify the PHP RPMs have been installed, run rpm -qa |grep php. You should see:
php-common-5.2.3-1
php-5.2.3-1
php-cli-5.2.3-1
Download oracle-instantclient-basic-10.2.0.3-1.i386.rpm and install it with:
rpm -ivh oracle-instantclient-basic-10.2.0.3-1.i386.rpm
Install PHP's PDO extension with:
rpm -ivh php-pdo-5.2.3-1.i386.rpm
Install PHP's Oracle OCI8 and PDO_OCI extensions with:
rpm -ivh php-oci8-5.2.3-1.i386.rpm
Alison
Comments (5)
I know this is a little off topic, but do you have any info on instantclient for OSX Intel machines? I have contacted our Oracle account rep, but haven't heard back yet. Too bad it isn't open source so I could just compile it. Any info would be great!
Thanks!
Mark
Posted by Mark Shropshire | July 3, 2007 7:58 PM
Posted on July 3, 2007 19:58
A quick search of otn.oracle.com gave me this:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/macsoft.html
That should be what you're after.
Posted by Alison Holloway | July 3, 2007 8:56 PM
Posted on July 3, 2007 20:56
There is no Instant Client for Intel Mac. Please keep contacting account reps etc so Oracle can accurately gauge the demand.
As I said in http://forums.oracle.com/forums/thread.jspa?threadID=515188&tstart=0
it is NOT a small effort to support a new platform.
Posted by ChristopherJones | July 4, 2007 12:29 PM
Posted on July 4, 2007 12:29
Thanks for the info Christopher!
Posted by Mark Shropshire | July 5, 2007 2:42 PM
Posted on July 5, 2007 14:42
Hi,
Thanks for your information. After a lot try I am able to install oracle-instantclient-devel-10.2.0.4-1.i386.rpm, will it be compatible with php-oci8-5.2.3-1.i386.rpm and where can I find php-oci8 version.
Thanks,
Posted by Monir | August 1, 2008 10:09 PM
Posted on August 1, 2008 22:09