码迷,mamicode.com
首页 > 其他好文 > 详细

Fatal error: Call to undefined function oci_connect()

时间:2016-10-19 09:41:42      阅读:338      评论:0      收藏:0      [点我收藏+]

标签:

 

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()

标签:

原文地址:http://www.cnblogs.com/Tiago/p/5975917.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!