Wednesday, January 11, 2006

Install Oracle and PHP OCI8 module on Ubuntu

This was somewhat of a pain in the rear end. I started from this Ubuntu Forums archived post: Howto: Install Oracle Instant Client and PHP OCI8 module.

To save yourself some trouble make sure you have C++, PHP-CLI, PHP-dev, PEAR and make installed (I forget the few other dependancies).

The instant clients I got from Oracle unzip'ped to an additional directory: instantclient_10_2, so go ahead and unzip it to the /opt/oracle directory then create two symbolic links to /opt/oracle/instantclient.

Everything else is pretty much straight forward.

No comments: