In the latest Ubuntu, I have a live installation of PHP 5.2.4. I want to use a remote Oracle server from PHP using OCI.
I downloaded the "Instant Client Package - Basic Lite" ( Link ). I unpacked the package containing the OCI libraries into a directory, but I don’t know how to tell PHP that I want to use these libraries. As expected, I get
Fatal error: call to undefined oci_connect () in ...
when running this code:
<?php
$conn = oci_connect('hr', 'hrpw', 'someremotehost');
?>
I do not want to recompile PHP with Oracle support. What is the fastest way to enable PHP so I can use Oracle? Do I need any other libraries, such as an Oracle client, if I want to connect to a remote instance of Oracle?