Connect with remote oracle database from PHP
Hi,
I need to connect to a remote oracle database from a PHP script.
Do I need to install any drivers or packages to connect with the remote database?
When I use below code
<?php
if ($c = oci_connect("username", "passwd", "remote server IP")) {
echo "Successfully connected to Oracle.";
oci_close($c);
} else {
$err = oci_error();
echo "Oracle Connect Error " . $err['text'];
}
?>
It gives below error
"PHP Fatal error: Call to undefined function: oci_connect() "
I'm wondering whether I need to install any drivers
Advice someone
Thanks
Edit/Delete Message