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 陷阱。
'重量转换器'
试图掌握使用存根的窍门,但我无法获得正确的格式,我有什么问题?我知道在这种情况下我已经在代码中使用了该方法,但我正在尝试学习如何正确执行存根。
测试:
describe "Convert Pounds to Kilo