SNMP support not working
| From: | Timothy R. Robnett | Date: | Wed, 20 Feb 2002 15:45:53 +0000 |
| Subject: | SNMP support not working | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6075@lists.php.net to get a copy of this message | ||
Greetings,
I have downloaded and compiled the latest source for both UCD-SNMP and PHP.
After a "successful" compile of both packages I can use the basic functions
of both UCD-SNMP via the provided command line tools and I can get PHP to
work with MySQL.
When I attempt to run code that worked on PHP 4.0.6 and UCD-SNMP 4.2 I get a
"Call to undefined function: snmpget()." Also when looking at phpinfo() I
see at the top where it lists out what my configure statement was but down
below I find no reference to SNMP anywhere. This also differs from my old
PHP 4.0.6 install.
I did find a reference on www.php.net to adding a #include <default_store.h>
to the top of the snmp.c file in the source tree. I did that as well and
recompiled but to no avail. Any other ideas. Thanks.
Sincerely,
Timothy R. Robnett
mailto:tim@robnett.net
http://www.robnett.net/~tim/
***************************************************
"Americans are so enamored of equality, that they would
rather be equal in slavery than unequal in freedom."
Alexis de Tocqueville - Democracy in America Vol. I, 1835
***************************************************