linux安装swoole

本文采用pecl安装Swoole

请确保已经安装php7.0以上版本,Swoole目前不支持Windows

pecl install swoole

swoole

警告:频道“pecl.php.net”已更新其协议,使用“pecl channel-update pecl.php.net”进行更新

执行pecl channel-update pecl.php.net在执行pecl install swoole

swoole

pecl install swoole No releases available for package "pecl.php.net/swoole"

pecl install swoole没有可用于“pecl.php.net/swoole”的软件包

解决:


pear clear-cache

pear update-channels

pear upgrade

之后继续执行 pecl install swoole

Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 465

提示 popen()函数被禁用 删除禁用即可

继续执行 pecl install swoole

swoole

连续输入三次ok
swoole

Warning: exec() has been disabled for security reasons in PEAR/Builder.php on line 407

提示 exec()函数被禁用 删除禁用即可

到这里swoole已经安装成功

php7swoole扩展

Pasa吴技术博客
请先登录后发表评论
  • latest comments
  • 总共0条评论