Stuck Call to undefined function oci_connect() using XAMPP

試著忘記壹切 提交于 2019-12-05 19:27:01

you are very close.

  1. Add oci.dll, oraociei12.dll, and oraons.dll from C:\instantclient_12_1 to xampp/apache/bin folder. Replace the existing ones.

  2. Restart the Apache

N.B: Make sure that your PATH environment variable are set to this folder "C:\instantclient_12_1".

Christopher Jones

Check whether command line PHP works. See if there are any log errors. Make sure you have the right OCI8 DLL. Triple check you have 32bit Oracle Instant Client and that it occurs first in PATH. If you have other Oracle libraries installed then your webserver may be finding them first: fix this.

i have the exact same problem and fix it in the php.ini file by uncommenting this

extension_dir = "./" "remove semicolon"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!