- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2021-6-3
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2021-6-3 16:10:15
|
显示全部楼层
我的也出现这问题。PHP多版本的时候出现的。阿里云CENTOS6.10,安装了php5.6和7.3 @licess
[root@iZj6cdwv33bzmdhhj9maboZ lnmp1.7]# ./addons.sh install redis
+-----------------------------------------------------------------------+
| Addons script for LNMP V1.7, Written by Licess |
+-----------------------------------------------------------------------+
| A tool to Install cache,optimizer,accelerator...addons for LNMP |
+-----------------------------------------------------------------------+
| For more information please visit https://lnmp.org |
+-----------------------------------------------------------------------+
Multiple PHP version found, Please select the PHP version.
1: Default Main PHP 5.6.40
10: PHP 7.3 [found]
Enter your choice (1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or 11 ):
10
Current selection:: PHP 7.3.23
====== Installing Redis ======
Install redis-6.0.8 Stable Version...
Press any key to start...or Press Ctrl+c to cancel
Notice: redis-5.0.9.tar.gz not found!!!download now...
--2021-06-03 15:45:05-- http://download.redis.io/releases/redis-5.0.9.tar.gz
Resolving download.redis.io... 45.60.125.1
Connecting to download.redis.io|45.60.125.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1986574 (1.9M) [application/octet-stream]
Saving to: “redis-5.0.9.tar.gz”
100%[====================================================================================================================================================================================================================================>] 1,986,574 --.-K/s in 0.05s
2021-06-03 15:45:06 (34.6 MB/s) - “redis-5.0.9.tar.gz” saved [1986574/1986574]
Uncompress redis-5.0.9.tar.gz...
cd redis-5.0.9...
cd src && make install
make[1]: Entering directory `/usr/local/src/lnmp1.7/src/redis-5.0.9/src'
CC Makefile.dep
make[1]: Leaving directory `/usr/local/src/lnmp1.7/src/redis-5.0.9/src'
......
config.status: executing include/jemalloc/jemalloc_mangle.h commands
config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands
config.status: executing include/jemalloc/jemalloc.h commands
configure: WARNING: unrecognized options: --enable-cc-silence
===============================================================================
jemalloc version : 5.1.0-0-g0
library revision : 2
CONFIG : --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence 'CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops ' LDFLAGS=
CC : gcc
CONFIGURE_CFLAGS : -std=gnu99 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops
SPECIFIED_CFLAGS : -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops
EXTRA_CFLAGS :
CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT
CXX : g++
CONFIGURE_CXXFLAGS : -fvisibility=hidden -O3
SPECIFIED_CXXFLAGS :
EXTRA_CXXFLAGS :
LDFLAGS :
EXTRA_LDFLAGS :
DSO_LDFLAGS : -shared -Wl,-soname,$(@F)
LIBS : -lrt -lm -lpthread -ldl
RPATH_EXTRA :
XSLTPROC : /usr/bin/xsltproc
XSLROOT :
PREFIX : /usr/local
BINDIR : /usr/local/bin
DATADIR : /usr/local/share
INCLUDEDIR : /usr/local/include
LIBDIR : /usr/local/lib
MANDIR : /usr/local/share/man
srcroot :
abs_srcroot : /usr/local/src/lnmp1.7/src/redis-5.0.9/deps/jemalloc/
objroot :
abs_objroot : /usr/local/src/lnmp1.7/src/redis-5.0.9/deps/jemalloc/
JEMALLOC_PREFIX : je_
JEMALLOC_PRIVATE_NAMESPACE
: je_
install_suffix :
malloc_conf :
autogen : 0
debug : 0
stats : 1
prof : 0
prof-libunwind : 0
prof-libgcc : 0
prof-gcc : 0
fill : 1
utrace : 0
xmalloc : 0
log : 0
lazy_lock : 0
cache-oblivious : 1
cxx : 0
===============================================================================
cd jemalloc && make CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS="" lib/libjemalloc.a
make[3]: Entering directory `/usr/local/src/lnmp1.7/src/redis-5.0.9/deps/jemalloc'
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.c
nm -a src/jemalloc.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/jemalloc.sym
。。。。。。
INSTALL redis-check-rdb
INSTALL redis-check-aof
Hint: It's a good idea to run 'make test' ;)
INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install
make[1]: Leaving directory `/usr/local/src/lnmp1.7/src/redis-5.0.9/src'
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
Notice: redis-5.3.2.tgz not found!!!download now...
--2021-06-03 15:46:24-- http://pecl.php.net/get/redis-5.3.2.tgz
Resolving pecl.php.net... 104.236.228.160
Connecting to pecl.php.net|104.236.228.160|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 266814 (261K) [application/octet-stream]
Saving to: “redis-5.3.2.tgz”
100%[====================================================================================================================================================================================================================================>] 266,814 270K/s in 1.0s
2021-06-03 15:46:26 (270 KB/s) - “redis-5.3.2.tgz” saved [266814/266814]
Uncompress redis-5.3.2.tgz...
cd redis-5.3.2...
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
configure.ac:3: error: Autoconf version 2.68 or higher is required
configure.ac:3: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
include/redis.sh: line 80: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot create regular file `/etc/systemd/system/redis.service': No such file or directory
Add to auto startup...
Add redis service at system startup...
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpm [03-Jun-2021 15:46:27] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php7.3/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php7.3/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php7.3/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php7.3/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
done
Starting Redis server...7223:C 03 Jun 2021 15:46:27.847 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
7223:C 03 Jun 2021 15:46:27.847 # Redis version=5.0.9, bits=64, commit=00000000, modified=0, pid=7223, just started
7223:C 03 Jun 2021 15:46:27.847 # Configuration loaded
done
Redis install failed! |
|