浏览代码

更新 'readme.md'

qiang 6 年之前
父节点
当前提交
0a317d2ef5
共有 1 个文件被更改,包括 24 次插入1 次删除
  1. 24 1
      readme.md

+ 24 - 1
readme.md

xqd
@@ -37,4 +37,27 @@ update card_user_progress set user_id = 'wx3e31dfff4c194c06_' where user_id = 'w
 
 update card_user_project set user_id = 'wx3e31dfff4c194c06_' where user_id = 'wx3e31dfff4c194c06';
 
-update card_user_trend set user_id = 'wx3e31dfff4c194c06_' where user_id = 'wx3e31dfff4c194c06';
+update card_user_trend set user_id = 'wx3e31dfff4c194c06_' where user_id = 'wx3e31dfff4c194c06';
+
+
+## 扩展插件
+sudo apt-get install imagemagick libmagickwand-dev
+sudo apt-get install python-gtk2-dev
+sudo apt-get install libqt4-dev
+sudo apt-get install libv4l-dev
+
+wget http://downloads.sourceforge.NET/project/zbar/zbar/0.10/zbar-0.10.tar.gz
+tar -zvxf zbar-0.10.tar.gz
+export CFLAGS=""
+./configure --disable-video
+sudo make && make install
+sudo ldconfig
+
+git clone git@github.com:jorissteyn/php-zbarcode.git
+git checkout -b php7 origin/gophp7
+
+/usr/local/php/bin/phpize
+./configure --with-php-config=/usr/local/php/bin/php-config
+make
+make install
+添加:extension=zbarcode.so 到php.ini配置文件