user187809
user187809

Reputation:

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 tnsnames.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?

Upvotes: 1

Views: 1330

Answers (1)

eyescream
eyescream

Reputation: 19612

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.

Upvotes: 1

Related Questions