- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2018-3-7 09:39:40
|
显示全部楼层
In file included from /tmp/pear/temp/pthreads/php_pthreads.h:43:0,
from /tmp/pear/temp/pthreads/php_pthreads.c:26:
/tmp/pear/temp/pthreads/classes/pool.h: 在函数‘zim_Pool_collect’中:
/tmp/pear/temp/pthreads/classes/worker.h:53:10: 错误:‘zend_fcall_info’没有名为‘function_table’的成员
call.fci.function_table = &(w)->ce->function_table; \
^
/tmp/pear/temp/pthreads/classes/pool.h:293:4: 附注:in expansion of macro ‘PTHREADS_WORKER_COLLECTOR_INIT’
PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(worker));
^
/tmp/pear/temp/pthreads/classes/worker.h:55:57: 错误:‘zend_fcall_info’没有名为‘function_table’的成员
call.fcc.function_handler = zend_hash_find_ptr(call.fci.function_table, Z_STR(call.fci.function_name)); \
^
/tmp/pear/temp/pthreads/classes/pool.h:293:4: 附注:in expansion of macro ‘PTHREADS_WORKER_COLLECTOR_INIT’
PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(worker));
^
make: *** [php_pthreads.lo] 错误 1
ERROR: `make' failed
pecl上的pthreads是2016年的
建议去https://github.com/krakjoe/pthreads 下载最新的源码安装试试,php模块编译安装参考:https://www.vpser.net/manage/lnmp-php-install-ext.html |
|