Dellowar
Dellowar

Reputation: 3352

PHP CLI in windows cant access extensions

Using a fresh install of PHP found in C:\Program Files (x86)\php, I edit the php.ini to include a few libraries (I.e. pdo_oci). But when I run the CLI command php I get this:

PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_oci' (tried: ext\
pdo_oci (The specified module could not be found.), ext\php_pdo_oci.dll (Access
is denied.)) in Unknown on line 0

And I can say that ext\php_pdo_oci.dll is most certainly there and Everyone has "full control" to the file.

Upvotes: 0

Views: 75

Answers (1)

Christopher Jones
Christopher Jones

Reputation: 10506

Don't forget you need Oracle client libraries, for example Oracle Instant Client.

Upvotes: 1

Related Questions