Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top