安装

» Net-SNMP 的 Windows 版本, 在目录 mibs中包含了支持 SNMP 的文件。此目录应该作为 MIBDIRS 被添加到 Windows 的环境变量中,其值是 mibs 目录的完整路径。 例如 c:\usr\mibs

添加备注

用户贡献的备注 1 note

up
0
henkpoley at gmail dot com
14 days ago
The actual Windows path may be C:\usr\share\snmp\mibs

E.g. 'C:\'  concatenated with $mibdir (which is '/usr/share/snmp/mibs')

https://github.com/php/php-src/blob/75ed2091bca359f5bb1f1819a03f04c57be82b84/ext/snmp/tests/snmp_include.inc#L23

At least this is where PhpStan looks for it as well.
To Top