略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 安装

2024-12-23

安装

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

add a noteadd a note

User Contributed Notes 1 note

up
-17
bug404 at free dot fr
7 years ago
If net-snmp was not installed in default c:\usr folder (which may be the case for most peoples used to Windows instead of Linux), then, you should also create SNMP_PERSISTENT_DIR system environment variable with "persistent" folder location (located in snmp folder).
Otherwise, php will will create its own persistant folder in c:/usr/snmp/persistent folder, which is probably not what you want !

官方地址:https://www.php.net/manual/en/snmp.installation.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3