Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个非常简单的 PHP 脚本失败了。当我运行它时,我在我的 apache 错误日志中收到这条消息:
PHP Fatal error: Call to undefined function snmp_set_enum_print()
这是完整的 PHP 脚本:
<?php snmp_set_enum_print(0); ?>
我将我的 Net-SNMP 库升级到 v5.5,但仍然出现此错误。我错过了什么?
问题是我必须更新 /etc/rc.d/rc.snmptrapd 以接受未经授权的 v3 陷阱。