Skip to content

SocketMan是一款Zephir + Libev 开发的高性能的PHP Socket服务器扩展框架。

License

Notifications You must be signed in to change notification settings

sudoconf/SocketMan_Zephir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocketMan

SocketMan是一款Zephir + Libev 开发的高性能的PHP Socket服务器扩展框架。

#环境要求

  • *nux
  • PHP >= 5.5
  • Zephir最新版
  • re2c
  • gcc

安装Zephir

参考

安装Libev

  • 下载Libev最新版 下载

  • 安装

sh autogen.sh

./configure && make

sudo make install

编译扩展

  • 生成C API
zephir generate

  • 编译
phpize

./configure

make 

make install

  • 如果遇到:error while loading shared libraries: libev.so.4: cannot open shared object file: No such file or directory.

sudo ln -s /usr/local/lib/libev.so.4 /usr/lib/libev.so.4

sudo ldconfig

About

SocketMan是一款Zephir + Libev 开发的高性能的PHP Socket服务器扩展框架。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages