PHP extension dio is not loaded -


i trying communicate com ports using dio extension, not working seems. have added .dll file ext folder still cant find dio support enabled in php info().i have restarted xampp server more twice, still not working. current code com port testing.

    $portname = 'com9:';     $baudrate = 9600;     $bits = 8;     $spotbit = 1;      header( 'content-type: text/plain; charset=utf-8' );      ?>     serial port test     ================ <?php   function echoflush($string) {     echo $string . "\n";     flush();     ob_flush(); }  if(!extension_loaded('dio')) {     echoflush( "php direct io not appear installed more info see: http://www.php.net/manual/en/book.dio.php" );     exit; } 

this error getting now.

php direct io not appear installed more info see: http://www.php.net/manual/en/book.dio.php 

this steps followed while installing extension:

  1. i downloaded direct io pecl website
  2. then copied php_dio.dll php/ext folder
  3. next edited php.ini file adding extension=php_dio.dll
  4. then restarted xampp web server
  5. i opened php_info() check out php_dio.dll , found not still loaded.

did check extension_dir directive in phpinfo() output?


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -