Fatal error: Call to undefined function oci_connect()

Posted 鬱巷里

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Fatal error: Call to undefined function oci_connect()相关的知识,希望对你有一定的参考价值。

 

http://stackoverflow.com/questions/22478387/call-to-undefined-function-oci-connect

  1. Whenever you connecting Oracle Database , try to use 32 Bit oracle client libraries, Since XAMP php is compiled with 32 Bit(Though you have 64 Bit windows Machine)
  2. Download Oracle Client from Download From here

  3. Paste it in C:\instantclient_12_1

  4. Then Set the path to above in System Environment Variable
  5. Then Go to C:\xampp\php\php.ini and uncomment extension=php_oci8_12c.dll
  6. Then Restart the XAMP and it should work without any Issue.

以上是关于Fatal error: Call to undefined function oci_connect()的主要内容,如果未能解决你的问题,请参考以下文章

Fatal error: Call to a member function read() on a non

Fatal error: Uncaught Error: Call to undefined function gzinflate()

Fatal error: Call to undefined function fnmatch() 解决

Composer环境混乱引起--Fatal error: Call to undefined method Fxp

PHP Fatal error: Call to undefined function imagettftext()

Fatal error: Call to undefined function pasterTempletDiy()