mib location

From: Date: Thu, 17 Jan 2002 08:43:42 +0000
Subject: mib location
Groups: php.install 
Request: Send a blank email to php-install+get-5608@lists.php.net to get a copy of this message
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

« previous php.install (#5608) next »