missing DLL error on Windows 7

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
pranavkojha
Forum Newbie
Posts: 3
Joined: Fri Oct 28, 2011 11:39 am

missing DLL error on Windows 7

Post 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 ?
pranavkojha
Forum Newbie
Posts: 3
Joined: Fri Oct 28, 2011 11:39 am

Re: missing DLL error on Windows 7

Post 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...
pranavkojha
Forum Newbie
Posts: 3
Joined: Fri Oct 28, 2011 11:39 am

Re: missing DLL error on Windows 7

Post by pranavkojha »

Still no help... :banghead:
cksinghnet
Forum Newbie
Posts: 1
Joined: Mon Apr 02, 2012 1:55 pm

Re: missing DLL error on Windows 7

Post by cksinghnet »

Hey have you solved this problem..? I am facing the same problem. Please help . :|
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: missing DLL error on Windows 7

Post 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.
Post Reply