CVS update: phpdoc/functions

From: Date: Sun, 20 Jun 1999 12:05:10 +0000
Subject: CVS update: phpdoc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-7201@lists.php.net to get a copy of this message
Date: Sunday June 20, 1999 @ 8:05 Author: sas Update of /repository/phpdoc/functions In directory php:/tmp/cvs-serv22511/functions Modified Files: snmp.sgml Log Message: SNMP update Index: phpdoc/functions/snmp.sgml diff -u phpdoc/functions/snmp.sgml:1.2 phpdoc/functions/snmp.sgml:1.3 --- phpdoc/functions/snmp.sgml:1.2 Sat Jun 19 23:04:56 1999 +++ phpdoc/functions/snmp.sgml Sun Jun 20 08:05:09 1999 @@ -4,10 +4,28 @@ <partintro> <simpara> - In order to use the SNMP functions on Unix you need to install the - ucd-snmp package. There is a link to the current version in the - PHP FAQ. On Windows these functions are only available on NT and - not on Win95/98. + In order to use the SNMP functions on Unix you need to install the <ulink + url="&url.ucd-snmp;">UCD SNMP</ulink> package. On Windows these functions + are only available on NT and not on Win95/98. + + <simpara> + 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: + + <para> + <programlisting> +#define NO_ZEROLENGTH_COMMUNITY 1 + </programlisting> + </para> + + <simpara> + 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. + </partintro> <refentry id="function.snmpget">

« previous php.dev (#7201) next »