OCI.dll Missing. Install problem for Windows 7.

10,911 views
Skip to first unread message

Ansego Hannover

unread,
Jun 16, 2014, 12:48:02 PM6/16/14
to compose...@googlegroups.com
Hi,

When ever I try to install Composer I get the following error:

'The program can't start because OCI.dll is missing from your computer. Try reinstalling the prgram to fix this problem.'

I am on Windows 7 up to date with patches and AppServ for the webserver.

Looking forward in using Composer for the first time ;-) I hear good things.

Re

Ansego.

Jordi Boggiano

unread,
Jun 17, 2014, 10:54:27 AM6/17/14
to compose...@googlegroups.com
On 16/06/2014 18:48, Ansego Hannover wrote:
> Hi,
>
> When ever I try to install Composer I get the following error:
>
> '/The program can't start because OCI.dll is missing from your computer.
> Try reinstalling the prgram to fix this problem./'
>
> I am on Windows 7 up to date with patches and AppServ for the webserver.
>
> Looking forward in using Composer for the first time ;-) I hear good things.

This is probably an issue with your php.ini, either some extension is
loaded that shouldn't be, or an auto prepend file does weird things.

Either way this comes from php and not composer, so I am not sure what's
up. Perhaps you have multiple php.exe installed and the one used by the
command line is broken?

Try to disable any pdo/oracle extension from php.ini unless you
specifically need them.

Cheers

--
Jordi Boggiano
@seldaek - http://nelm.io/jordi

Ansego Hannover

unread,
Jun 18, 2014, 6:59:00 AM6/18/14
to compose...@googlegroups.com
I've updated php, changed php treaded / non treaded etc got other dll missing errors found online and replaced but not found OCI.dll from a good source yet. driving me nutts... It only happens when I try to install composer, so it has something to do with that. Would of hoped the installer would of had all this stuff or some kind of FAQ on it... With hope one of you have some idea's about fixing this and thanks Jordi for your reply. Yet to try disable pdo/oracle extention, will do in the next two hours for test. 

Rolf Harald Holmvik

unread,
May 30, 2015, 9:16:37 AM5/30/15
to compose...@googlegroups.com
I just ran into the exact same problem with 32-bit PHP on Windows 8.1. You can get OCI.dll by downloading the basic version of the Oracle Instant Client here for 32-bit or here for 64-bit. The DLL is included in the ZIP archive.

Note that you need to log in with an Oracle Account to access the downloads.

angelor tuyo

unread,
Sep 15, 2015, 2:09:53 AM9/15/15
to composer-users
I found a solution , comment out all the oci8 module, in your php.ini file it worked for me.
Reply all
Reply to author
Forward
0 new messages