Hello, After I installed php under windows 2000 with IIS5, I would like to use php_snmp.dll. My php installed dir is c:\php. c:\php\extensions and c:\php\mibs contains dll files and mib files respectively.
when I write a simple snmpget function <html><head><title>PHP Test</title></head> <body> <?php echo phpinfo(); ?> <?php $sysname = snmpget("10.8.1.33","68682112foa","system.sysname.0); echo $sysname; ?> </body></html> My browser shows 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 (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) It seems mib files cannot be located. Could you please tell me where the mib file show place ? I have modified the php.ini extension_dir = c:\php\extensions and uncomment extension=php_snmp.dll Thanks Tak -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]