note 14889 added to ref.snmp.php
| From: | admin at Nospamplzkthx dot networkessence dot net | Date: | Mon, 20 Aug 2001 02:55:00 +0000 |
| Subject: | note 14889 added to ref.snmp.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16902@lists.php.net to get a copy of this message | ||
If you are having problems getting snmp compiled with php, try these steps:
compile snmp
[root ucd-snmp-4.2.1] ./configure --with-openssl=/path/to/openssl-vers
[root ucd-snmp-4.2.1] make | make install
then compile php
[root php-4.0.6] ./configure --with-snmp=/usr/local --with-openssl --enable-ucd-snmp-hack
I found that compiling ucd-snmp without openssl leaves out crypto, leaving behind undefine symbol
references, and if you specify a directory for --with-openssl with php, it breaks the crypto
library compilation.
http://www.php.net/manual/en/ref.snmp.php