Click to See Complete Forum and Search --> : connect to DB


tanmoy1048
01-10-2008, 02:37 AM
I tried,
<?php
phpinfo();


$connection = oci_connect("PROD7","THWORD7","//neptune:1521/TEST");
if (!$connection) {
$e = oci_error();
echo htmlentities($e['message']);
}
?>


and I got the error,
Fatal error: Call to undefined function oci_connect().

the-ferret
01-10-2008, 03:06 AM
I guess you are trying to use Oracle oci connection?

Not something I have done before but a good FAQ at oracles site

http://www.oracle.com/technology/tech/php/htdocs/php_faq.html

tanmoy1048
01-10-2008, 03:38 AM
I m actually using the debain OS. so where is the .so file??

and 1 more thing is that... neptune is another machine in local network.and I havn't installed the oracle client.

thanx for reply.