title: PHP SNMP Warning: SNMP::get(): No response from 127.0.0.1
body: <p>I'm trying to get PHP SNMP to work on XAMPP PHP 7.1.9</p>
  
  <p>I'm always getting this result: <code>Warning: SNMP::get(): No response from 127.0.0.1</code></p>
  
  <p>Here's what I did:</p>
  
  <ol>
  <li>Enabled php_snmp.dll on php.ini</li>
  <li>Installed net-snmp-5.5.0-2.x64</li>
  <li>Added windows environment variable MIBDIRS with value C:\usr\share\snmp\mibs</li>
  </ol>
  
  <p>Code I'm running to test:</p>
  
  <pre><code>&lt;?php
      $session = new SNMP(SNMP::VERSION_1, "127.0.0.1", "public");
      $sysdescr = $session-&gt;get("sysDescr.0");
      echo "$sysdescr\n";
      $session-&gt;close();
  </code></pre>
  
  <p>I'm new to this so I'm not sure what I'm missing.</p>