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:
- i downloaded direct io pecl website
- then copied
php_dio.dllphp/ext folder - next edited
php.inifile addingextension=php_dio.dll - then restarted xampp web server
- i opened
php_info()check outphp_dio.dll, found not still loaded.
did check extension_dir directive in phpinfo() output?
Comments
Post a Comment