安装了lnmp环境之后,安装redis插件,没有显示已装列表里
If you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/
Add to auto startup...
Add redis service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /etc/systemd/system/redis.service.
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpmdone
Starting Redis server...4884:C 06 Dec 2021 11:24:21.198 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
4884:C 06 Dec 2021 11:24:21.198 # Redis version=5.0.9, bits=64, commit=00000000, modified=0, pid=4884, just started
4884:C 06 Dec 2021 11:24:21.198 # Configuration loaded
done
====== Redis install completed ======
Redis installed successfully, enjoy it!
安装完lnmp环境之后,再执行安装./addons.sh install redis安装redis扩展插件,提示安装完成了,但是php -m没有看到插件列表里面有redis,同理image也是一样,请问是安装有问题吗
大概率是你系统上还通过yum或apt-get方式安装了另外一个php,使用全路径查看 /usr/local/php/bin/php -m
页:
[1]