PHP 5.6.4-4ubuntu6.4 (cli) (built: Oct 28 2015 01:21:29) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

1Usage introduction
 Please copy libUniKey.so and  UniKey_PHP.so to the directory /usr/lib/
 Open the file php.inisudo gedit /etc/php5/apache2/php.ini
   Appendextension=/usr/lib/UniKey.so
 Modify udev rulesudo gedit /lib/udev/rules.d/50-udev-default.rules
   in the end line add this as below:
   # UniKey 
	  ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c580", MODE="0666"
      ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c583", MODE="0666"
 Create and build PHP project under the directory /var/www/html/sudo gedit /var/www/html/UniKeySample.php
 Restart apache2/etc/init.d/apache2 restart
 Please enter "localhost/UniKeySample.php" on browser address bar to run PHP program, without double quotation marks.