如何在PHP7.1中编译php-memcached正确?

时间:2017-09-29 12:37:54

标签: linux memcached php-7.1 debian-jessie libmemcached

我想在我的操作系统上安装PHP Memcached。您可以根据以下事实找到有关我的系统的更多信息。

  • 操作系统:Debian 8(Jessie)
  • 建筑:armhf
  • 已安装的软件包:memcached,php7.1-dev,build-essential, pkg-config,make,git,g ++,gcc,libmemcached-dev,libmsgpack-dev, libmsgpackc2

PHP版本:

PHP 7.1.8-2+0~20170804100723.7+jessie~1.gbpae7f04 (cli) (built: Aug 11 2017 03:58:33) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.8-2+0~20170804100723.7+jessie~1.gbpae7f04, Copyright (c) 1999-2017, by Zend Technologies

PHP包

libapache2-mod-php7.1
php-common
php7.1
php7.1-cli
php7.1-common
php7.1-curl
php7.1-dev
php7.1-gd
php7.1-imap
php7.1-json
php7.1-mbstring
php7.1-mcrypt
php7.1-mysql
php7.1-opcache
php7.1-readline
php7.1-xml
php7.1-xmlrpc
php7.1-zip

PHP模块

[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

我的错误摘要

FAILED TEST SUMMARY
---------------------------------------------------------------------
Memcached::getByKey() with CAS [tests/experimental/get_bykey_cas.phpt]
Memcached::getDelayedByKey() with CAS [tests/experimental/getdelayed_bykey_cas.phpt]
Memcached::getDelayedByKey() with callback exception [tests/experimental/getdelayed_cbthrows.phpt]
Memcached::getMulti() bad server [tests/experimental/getmulti_badserver.phpt]
Memcached::getStats() [tests/experimental/stats.phpt]
Memcached::getStats() with bad server [tests/experimental/stats_badserver.phpt]
===================================================================== 

我想我忘了安装库或PHP包。但我不知道哪一个?

您需要更多信息吗?没问题,我可以发布完整的日志文件。

我希望你能帮助我解决这个特殊问题。

0 个答案:

没有答案