Can't use the SNMP class
| From: | Marc-Andre Bergeron | Date: | Tue, 04 Dec 2012 17:42:49 +0000 |
| Subject: | Can't use the SNMP class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319791@lists.php.net to get a copy of this message | ||
Hi,
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?