Instalace
Important: In order to use the UCD SNMP package, you need to define
NO_ZEROLENGTH_COMMUNITY to 1 before compiling it. After configuring UCD
SNMP, edit config.h and search for NO_ZEROLENGTH_COMMUNITY. Uncomment the
#define line. It should look like this afterwards:
#define NO_ZEROLENGTH_COMMUNITY 1 |
Now compile PHP
--with-snmp[=DIR].
If you see strange segmentation faults in combination with SNMP commands,
you did not follow the above instructions. If you do not want to recompile
UCD SNMP, you can compile PHP with the
--enable-ucd-snmp-hack switch which
will work around the misfeature.