PHP 5.3.1在Windows上未加载php_oci8.dll [英] PHP 5.3.1 not loading php_oci8.dll on Windows
本文介绍了PHP 5.3.1在Windows上未加载php_oci8.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在php上加载oracle扩展,但是我遇到了错误:
I'm trying to load the oracle extension on php but im having the error:
警告:PHP启动:无法加载动态库'D:\ Program Files \ xampp \ php \ ext \ php_oci8.dll'-找不到指定的过程. 在 0
Warning: PHP Startup: Unable to load dynamic library 'D:\Program Files\xampp\php\ext\php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0
我到目前为止已经完成:
I have done so far:
- 在Windows路径中包括oracle Instant Client的完整路径
- 在php.ini上,
extension_dir
指向正确的位置 - 在php.ini
extension=php_oci8.dll
上还可以 - 重新启动了Apache,但没有任何效果.
- Included on windows path the the fullpath of oracle instant client
- on php.ini, the
extension_dir
is pointing to the right place - on php.ini
extension=php_oci8.dll
is ok - restarted the apache, and nothing works.
推荐答案
问题可以通过将文件orannzsbb11.dll,oci.dll和oraociei11.dll复制到c:\ windows \ system32
Problem solved by copying the files orannzsbb11.dll , oci.dll and oraociei11.dll to c:\windows\system32
这篇关于PHP 5.3.1在Windows上未加载php_oci8.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文