本文实例讲述了centos7环境下swoole1.9的安装与HttpServer的使用方法。分享给大家供大家参考,具体如下:
一、下载swoole源码包
https://github.com/swoole/swoole-src/releases
如:swoole-src-1.9.6.tar.gz
二、编译安装
> yum install gcc gcc-c++ kernel-devel make autoconf
> tar xf swoole-src-1.9.6.tar.gz
> cd swoole-src-1.9.6
我的php是安装在/data/php56下,请自行修改
> /da