문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top