Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error with oci_connect()

3151254Jan 9 2016 — edited Feb 8 2016

I'm trying to connect my php page to oracle database but I keep getting this error

Fatal error: Call to undefined function oci_connect()

the steps that I followed were:

1-  I downloaded the Instant Client from here (Client Package - Basic+ Client Package - ODBC) and I extracted them in one file.

2- I copied the file to my C drive and added a System Variable with the name path and the value of my file location.

3- I edited php.ini by removing the ;  at the beginning of oci8 package.

4- restarted my computer.

what did I do wrong? 

Ps: I'm using win8 64 bit + xampp

Thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2016
Added on Jan 9 2016
2 comments
1,989 views