php_oci8.dll unable to load
Posted by: noximo (---.upce.cz)
Date: November 04, 2009 10:39PM

Hi,
I'm trying to connect to the remote Oracle server, but I'm unable to load php_oci8.dll. All I've got is this message:
"PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0/ext/php_oci8.dll' - Uvedený modul nebyl nalezen"
('Module not found' is the translation of the last sentence)

or similar messages if I try to load php_oci8_11g.dll or php_pdo_oci. Files are in the specified folder. Other extensions load properly.
I've got PHP 5.3.0 but if I try the same with 5.2.11 it wouldn't load at all.

If i try execute this code:
$db = "oci:dbname=//schoolserver.com:1521/oracle10";
$conn = new PDO($db,$db_username, $db_password);
i've get this error: Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
so I think that problem could be in the Oracle client, but I've downloaded instantclient-basic-win32-11.1.0.7.0.zip and add a PATH into the Windows properly (at least i think i did)

Do you know the solution? Please help!

Options: ReplyQuote
Re: php_oci8.dll unable to load
Posted by: noximo (---.85.broadband4.iol.cz)
Date: November 04, 2009 11:22PM

Ok, nevermind, problem solved. Computer restart do the trick. It's one of these days y'know...

Options: ReplyQuote
Re: php_oci8.dll unable to load
Posted by: bugmenot1 (---.252-81.static-ip.oleane.fr)
Date: July 07, 2011 12:33PM

To solve the problem
"PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0/ext/php_oci8.dll'"

I had to install WampServer 32-bits on my 64-bit machine.

Frosty

Options: ReplyQuote
Re: php_oci8.dll unable to load
Posted by: bugmenot1 (---.252-81.static-ip.oleane.fr)
Date: July 07, 2011 12:33PM

-



Edited 1 time(s). Last edit at 07/07/2011 12:33PM by bugmenot1.

Options: ReplyQuote
Re: php_oci8.dll unable to load
Posted by: GnuDoyng (---.51.204.121.board.fz.fj.dynamic.163data.com.cn)
Date: July 16, 2011 12:56PM

I was experiencing the same issue for the past days and my sollution was to copy oci.dll to Windows/system32 folder.

Options: ReplyQuote
Re: php_oci8.dll unable to load
Posted by: nishantjiit (---.114.30.2.static-delhi.vsnl.net.in)
Date: February 09, 2012 01:36PM

Hi,

I am getting the same error and i am stuck now:

PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.9/ext/php_oci8.dll'"

I have enabled the extension from php.ini, restarted apache, restarted system, copies oci.dll to system32 folder.

The php_oci8.dll file is available at c:/wamp/bin/php/php5.3.9/ext/php_oci8.dll.

I have installed wamp server 2 (32 bits) on windows XP SP3.

I do not know what is happening here. I have been looking into this issue for more than 6 hours and have not found any solution. Please help me.

Thanks in advance.

Options: ReplyQuote
Re: php_oci8.dll unable to load
Posted by: mmqfilho (---.virtua.com.br)
Date: May 03, 2013 12:34PM

copy the oci.dll into the windows/system32 folder

Options: ReplyQuote


Sorry, only registered users may post in this forum.