标题:
[求助]
多版本PHP7.3 安装membecached报错、不能安装memcached
[打印本页]
作者:
bit
时间:
2019-10-25 10:14
标题:
多版本PHP7.3 安装membecached报错、不能安装memcached
全新安装lanmp v3.3.7 然后安装多版本PHP 7.3.x 安装完成后执行 sh phps_memcache.sh 安装memcache 但执行报错,导致安装失败。
多次尝试同样的错误,编译不下去,其他多版本 7.2.x 都没问题。
报错内容:
/www/wdlinux/phps/73/include/php/Zend/zend_smart_string.h:67:32: note: expected ‘struct smart_string *’ but argument is of type ‘struct smart_str *’
static zend_always_inline void smart_string_free_ex(smart_string *str, zend_bool persistent) {
^
/root/src/pecl-memcache-php7/memcache.c: In function ‘php_mmc_connect’:
/root/src/pecl-memcache-php7/memcache.c:1946:24: error: lvalue required as increment operand
GC_REFCOUNT(list_res)++;
^
/root/src/pecl-memcache-php7/memcache.c:1965:24: error: lvalue required as increment operand
GC_REFCOUNT(list_res)++;
^
/root/src/pecl-memcache-php7/memcache.c: In function ‘zif_memcache_add_server’:
/root/src/pecl-memcache-php7/memcache.c:2057:24: error: lvalue required as increment operand
GC_REFCOUNT(list_res)++;
^
/root/src/pecl-memcache-php7/memcache.c: In function ‘mmc_find_persistent’:
/root/src/pecl-memcache-php7/memcache.c:2203:19: error: lvalue required as left operand of assignment
GC_REFCOUNT(le) = 1;
^
/root/src/pecl-memcache-php7/memcache.c:2220:19: error: lvalue required as left operand of assignment
GC_REFCOUNT(le) = 1;
^
make: *** [memcache.lo] Error 1
make: *** Waiting for unfinished jobs....
x86_64
CentOS Linux release 7.6.1810 (Core)
复制代码
欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/)
Powered by Discuz! 7.2