Have I enabled a PHP extension and a Warning appears?

Asked

Viewed 73 times

1

I enabled the extension php_oci8_11g.dll but I get the following warning.

PHP Warning: PHP Startup: Unable to load Dynamic library 'C: php ext php_oci8_11g.dll' - %1.

I’ve reinstalled the PHP several times, but the error continues. Someone knows what can be?

Note: I am using Windows 10 64-bit and my PHP is in the version 5.6.30.

  • Your PHP is version?

  • I’ll ask the question

  • Are you installing PHP via a package (xamp, wamp, etcc) or natively? PHP is x86 or x64?

  • @Native Gabrielheming and x86

  • If you just google the DLL name, you’ll find numerous results for your problem. Three links of the stack overflow only: http://stackoverflow.com/questions/38709005/php-oci8-11g-dll-is-not-a-valid-win32-application http://stackoverflow.com/questions/28460945/php-oci8-unable-to-load-nota-valid-win32-application http://stackoverflow.comquestion/s/20825405/php--Warning-at-startup-while-trying-to-load-php-oci8-dll https://blogs.oracle.com/opal/entry/using_php_oci8_with_32-bit_php

  • @Gabrielheming I need it to be in this version, the second answer does not answer the question.

  • They all speak the same thing, look for the 32-bit DLL compiled in VC11. It’s likely that you’re using one on the other

  • @Gabrielheming I’m using the 32-bit

Show 3 more comments

1 answer

1


I decided, I had to reinstall the Oracle Client, I downloaded a version with Thread Safe of PHP and the following DLL.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.