title: PHP extension Dio is not loaded?
body: <p>I am trying to communicate with the COM Ports using the DIO extension, but it's not working it seems. I have already added the .dll file into my ext folder but I still can't find the Dio support enabled in PHP info(). I have already restarted my XAMPP server more than twice, but still, it's not working. This is my current code for the com port testing.</p>
  
  <pre><code>    $portName = 'COM9:';
      $baudRate = 9600;
      $bits = 8;
      $spotBit = 1;
  
      header( 'Content-type: text/plain; charset=utf-8' ); 
      ?&gt;
      Serial Port Test
      ================
  &lt;?php
  
  
  function echoFlush($string)
  {
      echo $string . "\n";
      flush();
      ob_flush();
  }
  
  if(!extension_loaded('dio'))
  {
      echoFlush( "PHP Direct IO does not appear to be installed for more info see: http://www.php.net/manual/en/book.dio.php" );
      exit;
  }
  </code></pre>
  
  <p>This is the error I am getting now. </p>
  
  <pre><code>PHP Direct IO does not appear to be installed for more info see: http://www.php.net/manual/en/book.dio.php
  </code></pre>
  
  <p>This is the steps I followed while installing the extension:</p>
  
  <ol>
  <li>I downloaded the direct io from the <a href="http://pecl.php.net/package/dio/0.0.7/windows" rel="nofollow noreferrer">pecl website</a></li>
  <li>Then I copied the <code>php_dio.dll</code> into the PHP/ext folder</li>
  <li>Next, I edited the <code>php.ini</code> file by adding the <code>extension=php_dio.dll</code></li>
  <li>Then I restarted my XAMPP webserver</li>
  <li>I opened <code>php_info()</code> to check out the <code>php_dio.dll</code> and found that it is not still loaded.</li>
  </ol>