开发者

Apache not loading PHP oracle dll

on win 64, I installed apache, php etc. Everything works fine, except the oracle part. I can connect to oracle from sql developer which means my tnsn开发者_Python百科ames.ora file is correct. When apache starts, there are no errors in the logs. But when I try to connect to oracle from my database, oracle module php_oci8.dll is not loaded. What am I doing wrong?


Is the dll listed in the php.ini? Can be "php_oci8.dll" or "php_oci8_11g.dll" depending on version of the Instant Client. Did you restart the server after uncommenting one of them?

Did you edit the correct php.ini (stupid question but there are probably at least two, 1 for Apache and 1 for command line).

Does the OCI8 module show in the output of phpinfo() function?

Does the php_error.log contain anything suspicious?

You might want to check out "The Underground Oracle and PHP Manual" for detailed installation / configuration help and check out resources related to PHP in the PHP Developer Center.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜