
先安装Libevent
git clone https://github.com/nmathewson/Libevent.git
cd Libevent/
./autogen.sh
sudo ./configure --prefix=/usr/local/libevent-2.1.8
make
sudo make install
再按照处理:https://segmentfault.com/q/1010000006781567再安装event
wget http://pecl.php.net/get/event-2.3.0.tgz
tar -zxvf event-2.3.0.tgz
./configure --with-php-config=/usr/bin/php-config --with-event-libevent-dir=/usr/local/libevent-2.1.8/
编译 安装
make make install
重启服务器
人吐槽 | 人点赞 |
发表评论