简体   繁体   中英

Error with oci_connect()

I'm trying to connect my PHP page to an Oracle Database but I keep getting this error:

Fatal error: Call to undefined function oci_connect() in

So I downloaded the Instant Client from here , but I keep getting the same error.

Here is my PHP info.

I'm using IIS and I can't use Apache.

Please help!

You need to restart IIS after adding the Instance Client Package.

After restart, must check the php_oci8.dll file in php/ext directory.

And one last thing, disable extension=php_oracle.dll from your php.ini file, its an old and deprecated Oracle extension.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM