December 05, 2023, 02:50:51 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Tags Login Register  
Pages: [1]
Author Topic: OCI 1.2.5 or upgrading Oracle Instant Client  (Read 41827 times)
0 Members and 1 Guest are viewing this topic.
Sr. Member
Posts: 423

« on: May 13, 2008, 07:58:55 pm »

OCI 1.2.5 was released recently and has an impressive list of fixes. One of the most important items for me was the support for RPM installs and 64-bit RPMs.

What that means in plain English: You can now grab RPMs from Oracle website for Oracle Instant Client. Install them as you normally would and then do pear install pecl/oci8 and just say instantclient and be done with it.

I actually tested this today on my development box at work. I did it as an upgrade though. The whole process now takes less than 2 minutes and I'll describe it here.

NOTE: I assume you already have Oracle Instant Client setup and configured. If not then see Part 1 ( and  Part 2 (

1. Do pear upgrade pecl/oci8.
2. You will be prompted with an option to provide instant client lib directory:
   a. enter 1 - NOTE: Don't select autodetect as this never worked for me.
   b. enter instantclient.
   c. press Enter to continue.
3. At this point it should combine and install the

I noticed one weird thing on my box. I got a segmentation fault at the end of the install process. I restarted apache (service httpd restart) and things seem to work fine.

Tags: PHP Oracle Pecl Oracle Instant Client 
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines | Sitemap Valid XHTML 1.0! Valid CSS!