Bleadof’s world of tinkering

June 21, 2006

Oracle instant client basic, PHP >= 4.3.9 and Centos

Filed under: Jyväskylä University Library, Tinkering, Work — Bleadof @ 14:06

Whoop-di-fucking-doo!, I didn’t know that getting Oracle database connectivity in PHP 4.3.9 could be this hard to get working. Here are the tricks.

  • Find oracle-instantclient-basic-10.2.0.2-1 as RPM.
  • Find php-oci8-4.3.9-3 as RPM.
  • Install them, restart apache and you’re done.

Sounds easy? Well it’s not. Reason: those packets were hard to find in the first place. Why? Apparently oracle doesn’t want the instant client to be found as rpm. Most of the howtos you’re told to compile PHP from tarball and that’s just not the way you want it to be done. Anyhow I succeeded and now i can use AdoDB to connect oracle database. You know that oci8 is working when you check phpinfo() for oci8 module enabled

3 Comments »

  1. Where / how did you get the RPM for the client?!

    thanks!

    Comment by Cowmix — September 19, 2006 @ 22:09

  2. I’m with Cowmix. How did you get the RPM? I’m trying to locate the following files for a project I’m working on. Oracle has been useless when it comes to producing them. They claim they can’t search by file name! These files exist, another contractor working on the same project has them but the license agreement forbids them to share.

    Instantclient-basic-linux32-10.2.0.2-20060331.zip
    Instantclient-odbc-linux32-10.2.0.2-20060331.zip
    Instantclient-sdk-linux32-10.2.0.2-20060331.zip
    Instantclient-sqlplus-linux32-10.2.0.2-20060331.zip

    Comment by Craig — May 7, 2007 @ 15:05

  3. So where are these magical RPM’s?

    Comment by Mat — July 24, 2007 @ 12:07

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress