RE:PHP and SNMP please help.

From: Date: Wed, 24 Oct 2001 17:40:30 +0000
Subject: RE:PHP and SNMP please help.
Groups: php.db 
Request: Send a blank email to php-db+get-13681@lists.php.net to get a copy of this message
I have the following installed on RH 7.1 php-4.0.4pl1-9 php-ldap-4.0.4pl1-9 php-manual-4.0.4pl1-9 php-common-4.0.5-0.3 php-imap-4.0.4pl1-9 php-mysql-4.0.4pl1-9 ucd-snmp-devel-4.2-12 ucd-snmp-4.2-12 ucd-snmp-utils-4.2-12 and I cannot seem to use the PHP snmpget() commands this is a sample php_test.php file <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>PHP Test</title> </head> <body> <?php $syscontact = snmpget("12.105.40.30", "public", ".1.3.6.1.2.1.1.4.0"); echo "$syscontact"; ?> </body> </html> I get the following responce Fatal error: Call to undefined function: snmpget() in /var/www/html/root/php_test.php on line 9 please help

« previous php.db (#13681) next »