php_oci8 not loading on wamp server 2.0?

一世执手 提交于 2019-12-10 23:31:59

问题


I enabled the extension on wamp (Screenshot) but I still get this error:

Fatal error: Call to undefined function oci_connect() in C:\wamp\www\wp1\wp-content\plugins\hrf\tmp.php on line 4

How can I solve this problem?

Thank you.


回答1:


Uninstall WAMP, Install ZendServer Community edition.

Maybe it is not a right answer for your question, but it definitely works.

ZendServer is most stable PHP stack.

But if you want to keep WAMP, try this:

make sure you have enabled

extension=php_oci8.dll

in your php.ini file (or any included ini file) Best option is run

phpinfo()

It will tel you all you need to know.

Next thing to note is that php_oci8.dll has dependancy on other DLLs, on my installation it reference oci.dll from OracleInstant Client.



来源:https://stackoverflow.com/questions/9955767/php-oci8-not-loading-on-wamp-server-2-0

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