From: larryjadams at comcast dot net
Operating system: Win32
PHP version: 5.1.5
PHP Bug Type: SNMP related
Bug description: functions snmpgetnext and snmp2_getnext do not work
Description:
------------
The snmpgetnext function does not work in the PHP distributions. This has
been an issue for a while, but I am just getting around to publishing the
bug. Sorry...
Reproduce code:
---------------
<?php
print snmp2_getnext("localhost","pubilc",".1.3.6.1.2");
?>
or
<?php
print snmpgetnext("localhost","pubilc",".1.3.6.1.2");
?>
Expected result:
----------------
If you run the following command:
snmpgetnext -v 1 -c public localhost you would get
.1.3.6.1.2.1.1.1.0 = STRING: Hardware: x86 Family 6 Model 13 Stepping 8
AT/AT COMPATIBLE - Software: Windows 2000 Versio
n 5.1 (Build 2600 Uniprocessor Free)
Actual result:
--------------
Warning: snmp2_getnext(): No response from localhost in C:\test.php on
line 2
--
Edit bug report at http://bugs.php.net/?id=38516&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38516&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38516&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38516&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38516&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38516&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38516&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38516&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38516&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38516&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38516&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38516&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38516&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38516&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38516&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38516&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38516&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38516&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38516&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38516&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38516&r=mysqlcfg