mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 14:28:56 +00:00

- All id attributes are now xml:id - Add docbook namespace to all root elements - Replace <ulink /> with <link xlink:href /> - Minor markup fixes here and there git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
54 lines
1.8 KiB
XML
54 lines
1.8 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.4 $ -->
|
|
<section xml:id="snmp.installation" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.install;
|
|
<para>
|
|
Important: In order to use the UCD SNMP package, you need to define
|
|
<literal>NO_ZEROLENGTH_COMMUNITY</literal> to <literal>1</literal> before
|
|
compiling it. After configuring UCD SNMP, edit <filename>config.h</filename>
|
|
or <filename>acconfig.h</filename> and search for
|
|
<literal>NO_ZEROLENGTH_COMMUNITY</literal>. Uncomment the #define line. It
|
|
should look like this afterwards:
|
|
<programlisting role="c">
|
|
<![CDATA[
|
|
#define NO_ZEROLENGTH_COMMUNITY 1
|
|
]]>
|
|
</programlisting>
|
|
Now compile PHP <option role="configure">--with-snmp[=DIR]</option>.
|
|
</para>
|
|
<para>
|
|
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
|
|
<option role="configure">--enable-ucd-snmp-hack</option> switch which
|
|
will work around the misfeature.
|
|
</para>
|
|
<para>
|
|
The Windows distribution contains support files for SNMP in the
|
|
<filename class="directory">mibs</filename> directory. This directory
|
|
should be moved to <filename class="directory">DRIVE:\usr\mibs</filename>,
|
|
where DRIVE must be replaced with the driveletter where PHP is installed on,
|
|
e.g.<filename class="directory">c:\usr\mibs</filename>.
|
|
</para>
|
|
</section>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|