nico
nico

Reputation: 21

could not find oci pdo driver in windows

We installed apache and php on windows server 2008 to try to be connected with oracle database with php command.
We inserted in php.ini the following lign : extension_dir. But when we tried to connect to oracle with php command that displays "could not find driver". When we execute "phpinfo()" command we can see that "oci" is not enabled in pdo drivers.

Hope somebody can help us. Best regards, nico.

Upvotes: 2

Views: 6639

Answers (1)

silkfire
silkfire

Reputation: 25945

See here: http://php.net/manual/en/install.windows.extensions.php and http://php.net/manual/en/pdo.installation.php

To enable an extension, uncomment (remove initial semicolon) the line that looks like this:

extension=php_pdo_oci8.dll

Upvotes: 0

Related Questions