svn: /phpdoc/en/trunk/reference/snmp/ book.xml configure.xml setup.xml
| From: | Boris Lytochkin | Date: | Sun, 21 Aug 2011 09:38:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/snmp/ book.xml configure.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8659@lists.php.net to get a copy of this message | ||
lytboris Sun, 21 Aug 2011 09:38:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315253
Log:
fixing documentation per bug #53342
Bug: https://bugs.php.net/53342 (Open) missing documention
(fix provided in description)
Changed paths:
U phpdoc/en/trunk/reference/snmp/book.xml
U phpdoc/en/trunk/reference/snmp/configure.xml
U phpdoc/en/trunk/reference/snmp/setup.xml
Modified: phpdoc/en/trunk/reference/snmp/book.xml
===================================================================
--- phpdoc/en/trunk/reference/snmp/book.xml 2011-08-21 05:02:33 UTC (rev 315252)
+++ phpdoc/en/trunk/reference/snmp/book.xml 2011-08-21 09:38:55 UTC (rev 315253)
@@ -22,7 +22,7 @@
</para>
<para>
More information about Net-SNMP can be found at
- <link xlink:href="http://www.net-snmp.org/">http://www.net-snmp.org/</link>.
+ <link xlink:href="&url.net-snmp;">&url.net-snmp;</link>
</para>
</preface>
<!-- }}} -->
Modified: phpdoc/en/trunk/reference/snmp/configure.xml
===================================================================
--- phpdoc/en/trunk/reference/snmp/configure.xml 2011-08-21 05:02:33 UTC (rev 315252)
+++ phpdoc/en/trunk/reference/snmp/configure.xml 2011-08-21 09:38:55 UTC (rev 315253)
@@ -3,7 +3,19 @@
<section xml:id="snmp.installation" xmlns="http://docbook.org/ns/docbook">
&reftitle.install;
<para>
- Important: In order to use the UCD <acronym>SNMP</acronym> package, you need to
define
+ PHP 5.3.0, 5.3.1 and 5.3.2 do not have SNMP support. SNMP support has restored in PHP 5.3.3.
+ </para>
+ <para>
+ The Windows distribution of Net-SNMP 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>. Alternatively you
+ may set MIBDIRS environment variable pointed to your MIBs folder.
+ </para>
+
+ <para>
+ Important notes for PHP prior to 5.4.0: In order to use the UCD
<acronym>SNMP</acronym> package, you need to define
<literal>NO_ZEROLENGTH_COMMUNITY</literal> to <literal>1</literal> before
compiling it. After configuring UCD <acronym>SNMP</acronym>, edit
<filename>config.h</filename>
or <filename>acconfig.h</filename> and search for
@@ -23,17 +35,6 @@
<option role="configure">--enable-ucd-snmp-hack</option> switch which
will work around the misfeature.
</para>
- <para>
- PHP 5.3.0, 5.3.1 and 5.3.2 SNMP support do not have SNMP support. SNMP support has restored in
- PHP 5.3.3.
- </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
Modified: phpdoc/en/trunk/reference/snmp/setup.xml
===================================================================
--- phpdoc/en/trunk/reference/snmp/setup.xml 2011-08-21 05:02:33 UTC (rev 315252)
+++ phpdoc/en/trunk/reference/snmp/setup.xml 2011-08-21 09:38:55 UTC (rev 315253)
@@ -8,10 +8,18 @@
<section xml:id="snmp.requirements">
&reftitle.required;
<para>
- In order to use the SNMP functions on Unix you need to install the
- <link xlink:href="&url.net-snmp;">NET-SNMP</link> package. On Windows
these
- functions are only available on NT and not on Win95/98.
+ In order to use the <acronym>SNMP</acronym> functions requires installation of the
+ <link xlink:href="&url.net-snmp;">Net-SNMP</link> package. SNMPv3
+ functions available only when <link
xlink:href="&url.openssl;">OpenSSL</link>
+ package is installed too.
</para>
+ <para>
+ On Windows <acronym>SNMP</acronym> functions are only available on NT and not on
Win95/98.
+ </para>
+ <para>
+ Begining with PHP 5.4.0 Net-SNMP version 5.3+ is required for Unix
+ installations and Net-SNMP version 5.4+ for Windows.
+ </para>
</section>
<!-- }}} -->