Jquery中文网 www.jquerycn.cn
Jquery中文网 >  脚本编程  >  php  >  正文 PHP启动报错 php提示SNMP错误的解决方法

PHP启动报错 php提示SNMP错误的解决方法

发布时间:2017-11-08   编辑:www.jquerycn.cn
本文介绍下PHP启动报错,出现SNMP错误的解决方法,有需要的朋友参考下。

php启动报错,报如下的错误信息:
 

No log handling enabled - turning on stderr logging
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 (UCD-DLMOD-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)

解决方法:
只要将PHP.INI 中的配置文件有关snmp.dll加;注释掉即可。
 

复制代码 代码示例:
[PHP_SNMP]
;extension=php_snmp.dll

您可能感兴趣的文章:
PHP启动报错 php提示SNMP错误的解决方法
php中error_reporting()函数的用法参考
mysql启动错误报1067错误怎么解决
PHP程序出错页面空白 没有错误提示怎么解决?
php程序不显示错误设置方法
开发模式与产品模式下的PHP报错处理详解
Linux开启PHP报错的方法
php代码错误提示
php出现Class 'XsltProcessor' not found问题的解决方法
php页面空白怎么回事 php出现空白页的解决方法

关键词: php报错  启动报错   
[关闭]