here is how I buil snmp
./configure --sysconfdir=/etc \
--disable-ipv6 \
--with-openssl=/usr/local/ssl \
--enable-shared \
--with-defaults \
--with-zlib
and php:
cd php-4.1.2
./configure \
--sysconfdir=/etc/php \
--with\apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-mailparse \
--with-openssl=/usr/local/ssl \
--enable-ftp \
--enable-memory-limit \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--disable-debug \
--enable-pic \
--enable-inline-optimization \
--with-snmp --enable-ucd-snmp-hack \
--with-mm=/usr/local/mm-1.1.3
Did anyone successfully compiled php "--with-snmp" ? (ucd 4.x or net 5.x)