Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Tue Jul 15, 2014 10:11 pm


Postby chraristidou » Tue Jul 15, 2014 10:21 pm

Hi am new in PHP and am trying to connect it with the oracle database.
Am using the following code:

$conn = oci_connect('username', 'password', 'host');
if (!$conn) {
$e = oci_error();
trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);


And i keep getting the following error message: Fatal error: Call to undefined function oci_connect()

I have tried everything that is recommended online like creating the instant client or enabling the oci_8 library and still nothing works

Can someone please please help me ?

php-forum Active User
php-forum Active User
Posts: 384
Joined: Thu Mar 15, 2012 3:59 pm

Re: Oracle

Postby landi » Mon Aug 04, 2014 9:49 am

It sounds like the oci extention is not enabled. See

Return to “Other Database Engines”

Who is online

Users browsing this forum: No registered users and 1 guest