Jump to content

Redis not being recognized


Go to solution Solved by zenzoidman,

Recommended Posts

I recently updated my community's PHP version from 7.4 to 8.0, and ever since, I've been unable to get the software to recognize Redis. This is what I see when I go to the settings page (with my directory blacked out for privacy reasons):

85353177_ScreenShot2022-03-18at10_24_42AM.thumb.png.7519e60abbbb82fb7b83cd5e3de6be8f.png

I've confirmed that I have Redis version 6.2.6 installed on my server, as well as the Redis PHP extension. I've also cleared my community's system cache just in case. Is there anything else that needs to be done to make the software recognize Redis?

Link to comment
Share on other sites

I would suggest reviewing that the Redis PHP extension is indeed installed and being used in the directory which your Invision Community installation is in. From this screenshot, the PHP extension is not present in what PHP is passing the software so the option is not available to use it.

Link to comment
Share on other sites

Best I can tell, it is installed. Here are the results of the php -m command in the directory where my community is installed.

[user@myserver public_html]$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

And for thoroughness, if I do redis-cli info from the same place, I get:

[user@myserver public_html]$ redis-cli info
# Server
redis_version:6.2.6
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:4ab9a06393930489
redis_mode:standalone
os:Linux 3.10.0-1160.59.1.el7.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:8.3.1
process_id:23848
process_supervised:systemd
run_id:e1e7146820ea5500bc80109fbb6006fc8c43c723
tcp_port:6379
server_time_usec:1647900922324730
uptime_in_seconds:37326
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:3733754
executable:/usr/bin/redis-server
config_file:/etc/redis/redis.conf
io_threads_active:0

Am I missing anything?

Edited by zenzoidman
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...