On 4 Dec 2012, at 17:42, "Marc-Andre Bergeron" <marc-andre.berge...@cogeco.com> 
wrote:

> When I try to use the SNMP class I got the following error: PHP Fatal error: 
> Class 'SNMP' not found. I use the following version: PHP 5.3.3 (cli) and it 
> runs on CentOS release 6.2 (Final). I've also installed 
> net-snmp-5.5-41.el6_3.1.x86_64. According to the documentation "In order to 
> use the SNMP functions requires installation of the ยป Net-SNMP package". I 
> can use the snmp functions (ex: snmpget, snmpset, etc) but not the SNMP 
> class. Any idea? 

The class is only available in PHP 5.4+.

http://php.net/snmp.construct

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to