Home > Linux, PHP > Installation of Oracle client to Ubuntu 10.04 Lucid

Installation of Oracle client to Ubuntu 10.04 Lucid

Recently I moved from Fedora 13 to Ubuntu 10.04 on my work laptop. So, I faced again with problem to setup Oracle PHP interface. Oracle provides RPMs only and not DEBs. So, to install the client RPMs should be converted to the DEBs. It can be done easily using utility alien:

sudo alien oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm
sudo alien oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm
sudo alien oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.i386.rpm

They can be installed then with sudo dpkg -i.
Don’t forget to install PHP interface to Oracle:

sudo pear install pecl/oci8

That’s it. I spent no more 15 minutes to setup PHP Oracle interface under Ubuntu. Thanks to that post!

Categories: Linux, PHP Tags: , , ,
  1. June 17th, 2010 at 23:11 | #1

    Thank YOU for this post it made my life, like, 2.000.000 times easier. :)

  1. June 2nd, 2010 at 18:36 | #1

Get Adobe Flash playerPlugin by wpburn.com wordpress themes