首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
linux安装php扩展swoole
具体步骤: 1、phpize 2、./configure 没有任何问题 3、make,报错,结果如下: {{{ [root@localhost swoole-src-swoole-1.7.5-stable]# make /bin/sh /root/software/swoole-src-swoole-1.7.5-stable/libtool --mode=compile gcc -I. -I/root/software/swoole-src-swoole-1.7.5-stable -DPHP_ATOM_INC -I/root/software/swoole-src-swoole-1.7.5-stable/include -I/root/software/swoole-src-swoole-1.7.5-stable/main -I/root/software/swoole-src-swoole-1.7.5-stable -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/include -I/root/software/swoole-src-swoole-1.7.5-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/software/swoole-src-swoole-1.7.5-stable/swoole.c -o swoole.lo gcc -I. -I/root/software/swoole-src-swoole-1.7.5-stable -DPHP_ATOM_INC -I/root/software/swoole-src-swoole-1.7.5-stable/include -I/root/software/swoole-src-swoole-1.7.5-stable/main -I/root/software/swoole-src-swoole-1.7.5-stable -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/include -I/root/software/swoole-src-swoole-1.7.5-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/software/swoole-src-swoole-1.7.5-stable/swoole.c -fPIC -DPIC -o .libs/swoole.o /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:452: warning: initialization discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'zm_startup_swoole': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:562: warning: assignment discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:565: warning: assignment discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:568: warning: assignment discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onReceive': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1750: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onTask': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1823: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onFinish': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1889: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onStart': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1922: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onManagerStart': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1947: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onManagerStop': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1972: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onTimer': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2001: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onShutdown': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2026: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onWorkerStart': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2079: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onWorkerStop': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2123: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onWorkerError': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2164: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onConnect': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2204: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onClose': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2245: error: too many arguments to function 'zend_exception_error' make: *** [swoole.lo] Error 1 }}} 操作系统 {{{ [root@localhost swoole-src-swoole-1.7.5-stable]# uname -a Linux localhost.localdomain 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux }}} 请问有谁知道这个是什么问题嘛?
发布于8年前 · 0 次浏览 · 来自
提问
~
~风卷残云~
具体步骤: 1、phpize 2、./configure 没有任何问题 3、make,报错,结果如下: {{{ [root@localhost swoole-src-swoole-1.7.5-stable]# make /bin/sh /root/software/swoole-src-swoole-1.7.5-stable/libtool --mode=compile gcc -I. -I/root/software/swoole-src-swoole-1.7.5-stable -DPHP_ATOM_INC -I/root/software/swoole-src-swoole-1.7.5-stable/include -I/root/software/swoole-src-swoole-1.7.5-stable/main -I/root/software/swoole-src-swoole-1.7.5-stable -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/include -I/root/software/swoole-src-swoole-1.7.5-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/software/swoole-src-swoole-1.7.5-stable/swoole.c -o swoole.lo gcc -I. -I/root/software/swoole-src-swoole-1.7.5-stable -DPHP_ATOM_INC -I/root/software/swoole-src-swoole-1.7.5-stable/include -I/root/software/swoole-src-swoole-1.7.5-stable/main -I/root/software/swoole-src-swoole-1.7.5-stable -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/include -I/root/software/swoole-src-swoole-1.7.5-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/software/swoole-src-swoole-1.7.5-stable/swoole.c -fPIC -DPIC -o .libs/swoole.o /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:452: warning: initialization discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'zm_startup_swoole': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:562: warning: assignment discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:565: warning: assignment discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:568: warning: assignment discards qualifiers from pointer target type /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onReceive': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1750: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onTask': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1823: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onFinish': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1889: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onStart': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1922: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onManagerStart': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1947: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onManagerStop': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:1972: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onTimer': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2001: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onShutdown': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2026: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onWorkerStart': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2079: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onWorkerStop': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2123: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onWorkerError': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2164: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onConnect': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2204: error: too many arguments to function 'zend_exception_error' /root/software/swoole-src-swoole-1.7.5-stable/swoole.c: In function 'php_swoole_onClose': /root/software/swoole-src-swoole-1.7.5-stable/swoole.c:2245: error: too many arguments to function 'zend_exception_error' make: *** [swoole.lo] Error 1 }}} 操作系统 {{{ [root@localhost swoole-src-swoole-1.7.5-stable]# uname -a Linux localhost.localdomain 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux }}} 请问有谁知道这个是什么问题嘛?
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2016-02-14
M
M~Z~S
PHP版本太低导致,请升级到PHP5.4以上版本。
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。