pecl安装swoole提示未知类型php_socket

In file included from /tmp/pear/temp/swoole/swoole.c:16:0: /tmp/pear/temp/swoole/php_swoole.h:471:1: error: unknown type name ‘php_socket’ php_socket *swoole_convert_to_socket(int sock);

Ubuntu16.04环境,装的php7.2,pecl安装swoole时候出现的错误 求大神解答,谢谢啦

2018-06-20 22:57
0
0

twosee

赞同来自:

因为你没安装 php的socket扩展

2018-06-20 23:07
0

开心点163

赞同来自:

php的sockets扩展安装了的

2018-06-20 23:16

要回复问题请先登录注册