Ubuntu install php swoole

1: 安装环境依赖:

2:下载swoole-4.4.3

wget http://pecl.PHP.net/get/swoole-4.4.3.tgz

download to current location: swoole-4.4.3.tgz

3: 解压:

tar xf swoole-4.4.3.tgz

4: go to swoole root directory + run PHPize

cd swoole-4.4.3

/usr/bin/PHPize

display your version number: 

5: 设置安装参数: full list of config setting (https://wiki.swoole.com/#/environment)

./configure --enable-openssl --enable-sockets --enable-http2 --with-PHP-config=/usr/bin/PHP-config

6: make 进行编译,make install 进行安装

make && make install

 

相关文章

1.SW的HttpServerHttpServer的本质仍然是swoole_server,其协...
1、Swoole依赖安装hiredissudowgethttps://github.comedis/h...
直接安装会提示找不到openssl/ssl.h文件即便通过Brew安装了O...
1.安装依赖yum install -y php php-pear php-devel ht...
php
下载swoole地址:https://pan.baidu.com/s/1_N3RiFtT3iHLA5x...
昨晚我躺在床上,百无聊赖地翻阅 阿兰·德波顿《身份的焦虑...