インストール手順

Windows 版の » Net-SNMP には、 SNMP サポート用ファイルがが含まれています。 サポート用ファイルは mibs ディレクトリにあります。 このディレクトリを、Windows の環境変数 MIBDIRS に追加しなければいけません。 環境変数の値は、mibs ディレクトリへのフルパス (例: c:\usr\mibs) となります。

add a note

User Contributed Notes 1 note

up
0
henkpoley at gmail dot com
17 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