RE: [PHP] PHP - UCD-SNMP problem !!
| From: | Lars Holm Nielsen | Date: | Wed, 27 Sep 2000 09:46:59 +0000 |
| Subject: | RE: [PHP] PHP - UCD-SNMP problem !! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17687@lists.php.net to get a copy of this message | ||
> I have the latest versions of PHP, MySQL, Apache and UCD-SNMP. I have
> installed UCD-SNMP as per the instructions given in the PHP documentation.
> One more thing, I have installed PHP as static. The difficulty is that I
> cannot run snmpget, snmpwalk, etc. functions from the PHP script. It
flashes
> an error saying "Call to undefined function: snmpget()"....
Are you sure that you have compiled PHP with the "--with-snmp" option? This
is the mostlikly cause of the error, while you would only get it if PHP
wasn't properly compiled with SNMP.
Regards,
Lars Holm Nielsen <lars@hankat.dk>