Hi. I am new to PHP, think its incredible, want to get deeper into it. I have PHP running on win2k I downloaded the installable version and the manual version, installed PHP then extracted MIBS to c:\usr\mibs and put the PHP_SNMP.dll in the PHP folder. PHP runs fine and reports no errors, PHPINFO shows SNMP 4.1.2 enabled.
When I do a simple snmpget as per documentation the page returns with a
Warning: No Response from x.x.x.x in C:\localpath\pmtest.php on line 5
here is the contents of the script
<?
echo "Begin SNMP test.<br>";
$syscontact = snmpget("x.x.x.x", "public", "system.SysContact.0");
echo $syscontact ;
?>
I have scoured the web and every well known PHP hangout for a simple answer and have tried every reccomeded fix I could find. I Even tried installing PHP to a totally diffrent server and using the script there but it just gives me a :
-------SNIP----8<-----
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
-------SNIP---->8-----
I checked OCX files, Permissions, Mappings, MIBS and I am at a loss. Any help would be greatly appreciated.