title: PHP cant find SNMP modules under Windows 7
body: <p>I've enabled the SNMP module was trying to the functions in the module.  I have set the MIBDIRS environment variable to where I have my mibs but I'm still getting these "Cannot find module" warnings:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>My php.ini settings are:</p>
  
  <pre><code>mibdir=C:\\Users\username\Downloads\Applications\Dev\PHP\5.4\net-snmp-mibs\net-snmp-5.7.2.1\mibs
  mibs=all
  extension=php_snmp.dll
  </code></pre>
  
  <p>I'm on Windows.</p>
  
  <p>And it still gives those errors...</p>
  
  <p>Any insights please?</p>