Page 1 of 1

missing DLL error on Windows 7

Posted: Fri Oct 28, 2011 12:01 pm
by pranavkojha
I a newbie to PHP and I recently installed Windows 7 on my machine. After installing MySQL, PHP(v5.3.8) , IIS when I run the 'php -v' command to verify the version, I immediately get a system error, similar to the one as shown below, (Except the header says "php.exe - System Error"),

Image

The text in this error message says,
The program can't start because OCI.dll is missing from your computer. Try reinstalling the program to fix this problem.
The above message repeats 3-times. The fourth message complains about "libcs.dll",
The program can't start because libcs.dll is missing from your computer. Try reinstalling the program to fix this problem.
After repeatedly clicking on "OK" multiple times we finally get the version as shown below,

Code: Select all

C:\Users\pranav>php -version
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
PHP 5.3.8 (cli) (built: Aug 23 2011 12:14:39)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

C:\Users\pranav>
I have tried to looks for the MIBS directory in my machine but couldn't find it anywhere.

Question: Why am i getting these errors ?

Re: missing DLL error on Windows 7

Posted: Sat Oct 29, 2011 2:38 am
by pranavkojha
I have already tried reinstalling PHP 5.3.8 but that didn't help. When I tried installing PHP 5.2.17 on the same machine, I get similar error but for a different file. Any clue as to what is going wrong here ?

Any help would be appreciated...

Re: missing DLL error on Windows 7

Posted: Thu Nov 03, 2011 8:03 pm
by pranavkojha
Still no help... :banghead:

Re: missing DLL error on Windows 7

Posted: Mon Apr 02, 2012 2:00 pm
by cksinghnet
Hey have you solved this problem..? I am facing the same problem. Please help . :|

Re: missing DLL error on Windows 7

Posted: Tue Apr 03, 2012 1:17 pm
by Weirdan
Looks like you have Oracle connector enabled in your php configuration. If you do not intend to use Oracle databases remove (or comment out) lines like 'extension=php_oci<whatever>.dll' in your php.ini.