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
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
?????????????????????????????PHP???????
??Apache?????Swoole 1.8.5?????????
??????Swoole????PHP?????????????
Zan??????
- ????????
- ????Bug?????(?????????)
- ???????
- ???????
- ????????
- ??Mysql client???(??????)
- Nova????(RPC??)
- ??????
- ?????????100%
- ??????API??
- …
??????
master????????????????????????????????????release??
clone https://github.com/youzan/zan.git
an-extension
ze
nfigure
install
???????
ze
nfigure --enable-openssl
install
Zan????????
- ??async-redis??????sockets?????????ssl????????
- ?????async-redis??????configure?????
`--disable-async-redis
`???
- ??async-redis???????hiredis?????????x86?linux/mac?hiredis???????arm???????????hiredis?????config.m4?????
`PHP_ADD_LIBRARY(hiredis, 1, ZAN_SHARED_LIBADD)
`?????ZAN???
- ????ssl?????configure?????
`--enable-openssl
`???
- ???phpize?xxx/sed: No such file????php??/usr/bin/sed???xxx????
- ???phpize?Cannot find autoconf?????autoconf???
- ???configure???libcurl not installed??????curl??????????????????
- ???????/usr/lib/libcurl.so(???????libxxx.so.xxx?????libXXX.so??????)??????????/usr/include/curl?
- ??curl????????????phpize && configure??????????
- ??1)?2)????????????config.m4?PHP_CURL?????????curl????
- ???configure???enable sockets support, sockets extension installed incorrectly????PHP???sockets???????
- PHP?????5.6?????
- ?PHP?include??????????ext/sockets/php_sockets.h?
- sockets???zan????(php.ini????????)?????????????
- ???configure???Enable openssl support, require openssl library??????openssl??????????
- ????openssl??
- ??openssl????????lib???
`-L/usr/local/opt/openssl/lib
`???config.m4??LDFLAGS?
- ??openssl???????????
`-I/usr/local/opt/openssl/include
`???config.m4??CPPFLAGS?
- ???????????????????????
??????
???????
Zan ????????zan-doc
???????http://zandoc.zanphp.io ?
QQ??115728122
????
????
????
License
Zan ???? Apache2.0 license ?????