memcached安装失败 提示make: *** No targets specified and no makefile found. Stop.

admin
admin
admin
374
文章
102
评论
2022年1月4日16:28:25
评论
1,302

为了加速WordPress网站,提高访问性能,品自行最近也在折腾WP的各种缓存技术,这就涉及到在Linux服务器上安装php扩展memcached

但品自行在Linux宝塔面板安装php扩展memcached的时候出现了提示make: *** No targets specified and no makefile found. Stop.的错误,下面是错误详情:

checking for session includes... /www/server/php/74/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... found version 1.0.18, under /usr/local/libmemcached
checking for libmemcached sasl.h requirement... no
checking whether to enable sasl support... yes
configure: error: no, libmemcached built with sasl disabled. Run configure with --disable-memcached-sasl or update libmemcached with sasl support
make: *** No targets specified and no makefile found. Stop.
Install failed

经查阅各种资料,包括咨询宝塔官方,综合各种资料,以下是make: *** No targets specified and no makefile found. Stop.错误的具体解决办法:

安装扩展包并更新Linux系统

远程登录Linux系统(不会的参考如何远程登录Linux服务器),或者在宝塔面板里面的SSH终端执行以下两条命令:

yum install epel-release -y
yum update

memcached安装失败 提示make: *** No targets specified and no makefile found. Stop.

注意:如果命令执行过程中一直提示Trying other mirror.Trying other mirror、、、、、这样会导致命令执行不成功,这是因为Linux系统的yum源的问题,请更换yum源,参考本站以下文章:

更换Linux的yum源解决宝塔面板提示Trying other mirror

以上就是宝塔面板安装php扩展memcached安装失败 提示make: *** No targets specified and no makefile found. Stop的具体解决办法。

admin
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: