| | Stumble It! | Add to Mixx! | | diigo it | | Slashdot |

Monday, January 10, 2011

Querying Oracle 10.2 from XAMPP on Ubuntu

Just a quick note on how I got my XAMPP install talking to an Oracle 10.2 db:
  1. Get Oracle InstantClient (you'll have to register):
    - http://download.oracle.com/otn/linux/instantclient/10205/sqlplus-
    - http://download.oracle.com/otn/linux/instantclient/10205/basiclite-
  2. Unzip both to /opt/lampp/var/oracle
  3. Tell XAMPP where to look for the Oracle client:
    sudo /opt/lampp/lampp oci8
  4. Give the following path:
  5. Restart Apache:
    sudo /opt/lampp/lampp restartapache

You should now be able to make PHP calls to Oracle functions.

1 comment:

mack said...

Exceptional article…. Was desperately looking for an article like this……looking ahead for more..
generic viagra