Fatal error: Call to undefined function oci_connect() [message #340176] |
Mon, 11 August 2008 15:35 |
Tuffy1985
Messages: 1 Registered: August 2008
|
Junior Member |
|
|
Hi every1,
I am new to the forums, and i really need help here basically i keep getting the following error message:
Fatal error: Call to undefined function oci_connect() in C:\wamp\www\film_explosion\include\db_connection.php on line 6
I have checked the file and there is nothing wrong as you can see:
<?php
session_start();
//if ($conn = oci_connect('scott', 'tiger', 'Development'))
//For Localhost with local oracle db
if ($conn = oci_connect('scott', 'tiger', '//localhost/xe'))
{
//print 'Successfully connected to Oracle Database!';
}
else
{
$errmsg = oci_error();
print 'Oracle connection failed, Please check username, password and service name in oci_connect: ' . $errmsg['message'];
}
?>
Also i have made the neccessary changes in the php.ini files to communicate with oracle etc. I just dont understand this error it appears to not to under the "oci_connect()" function this is really strange.
Can anybody help me please?
Thanks all.
|
|
|
|