PHP安装出错 –》 Cannot find module (IP-MIB): At line 0 in (none)

  • Post author:
  • Post category:php




@php 安装出错

MIB search path: c:/usr/share/snmp/mibs

Cannot find module (IP-MIB): At line 0 in (none)

Cannot find module (IF-MIB): At line 0 in (none)

Cannot find module (TCP-MIB): At line 0 in (none)

Cannot find module (UDP-MIB): At line 0 in (none)

Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)

Cannot find module (SNMPv2-MIB): At line 0 in (none)

Cannot find module (SNMPv2-SMI): At line 0 in (none)

Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)

Cannot find module (UCD-SNMP-MIB): At line 0 in (none)

Cannot find module (UCD-DEMO-MIB): At line 0 in (none)

Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)

Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)

Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)

Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)

Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)

Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)

Cannot find module (SNMP-MPD-MIB): At line 0 in (none)

Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)

Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)

Cannot find module (SNMPv2-TM): At line 0 in (none)

具体原因还不知道是什么,但是只要把

extension=php_snmp.dll

这个扩展关掉就没有出什么问题了,大概是这个snmp这个扩展哪方面可能需要设置,没有到位



版权声明:本文为qq_41825819原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。