Re: Can't use the SNMP class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 Dec 2012, at 17:42, "Marc-Andre Bergeron" <marc-andre.bergeron@xxxxxxxxxx> 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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux