youzan/zan

Name: zan

Owner: ??

Description: ?????????????????????????????PHP???????

Created: 2017-06-16 04:06:01.0

Updated: 2018-05-18 00:57:09.0

Pushed: 2018-04-16 02:36:39.0

Homepage: http://zanphp.io

Size: 4770

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

??logo

zanphp logo

?????????????????????????????PHP???????

??Apache?????Swoole 1.8.5?????????

??????Swoole????PHP?????????????

License Build Status

Zan??????
  1. ????????
  2. ????Bug?????(?????????)
  3. ???????
  4. ???????
  5. ????????
  6. ??Mysql client???(??????)
  7. Nova????(RPC??)
  8. ??????
  9. ?????????100%
  10. ??????API??
??????

master????????????????????????????????????release??

clone https://github.com/youzan/zan.git
an-extension
ze
nfigure
 
 install
???????
ze 
nfigure --enable-openssl
 
 install
Zan????????
  1. ??async-redis??????sockets?????????ssl????????
    1. ?????async-redis??????configure?????`--disable-async-redis`???
    2. ??async-redis???????hiredis?????????x86?linux/mac?hiredis???????arm???????????hiredis?????config.m4?????`PHP_ADD_LIBRARY(hiredis, 1, ZAN_SHARED_LIBADD)`?????ZAN???
    3. ????ssl?????configure?????`--enable-openssl`???
  2. ???phpize?xxx/sed: No such file????php??/usr/bin/sed???xxx????
  3. ???phpize?Cannot find autoconf?????autoconf???
  4. ???configure???libcurl not installed??????curl??????????????????
    1. ???????/usr/lib/libcurl.so(???????libxxx.so.xxx?????libXXX.so??????)??????????/usr/include/curl?
    2. ??curl????????????phpize && configure??????????
    3. ??1)?2)????????????config.m4?PHP_CURL?????????curl????
  5. ???configure???enable sockets support, sockets extension installed incorrectly????PHP???sockets???????
    1. PHP?????5.6?????
    2. ?PHP?include??????????ext/sockets/php_sockets.h?
    3. sockets???zan????(php.ini????????)?????????????
  6. ???configure???Enable openssl support, require openssl library??????openssl??????????
    1. ????openssl??
    2. ??openssl????????lib???`-L/usr/local/opt/openssl/lib`???config.m4??LDFLAGS?
    3. ??openssl???????????`-I/usr/local/opt/openssl/include`???config.m4??CPPFLAGS?
    4. ???????????????????????
??????

???????

Zan ????????zan-doc

???????http://zandoc.zanphp.io ?

QQ??115728122

????
????

????

License

Zan ???? Apache2.0 license ?????


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.