On directadmin servers run as root:
Code:
cd /root
wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/php/php-extension.sh -O php-extension.sh
chmod 750 php-extension.sh
./php-extension.sh install redis
Hey i have installed redis php extension via Status -
./php-extension.sh status redis
[OK] The extension redis for PHP 72 seems to be enabled!
redis
Redis Support => enabled
Redis Version => 5.0.2
redis.arrays.algorithm => no value => no value
redis.arrays.auth => no value => no value
redis.arrays.autorehash => 0 => 0
redis.arrays.connecttimeout => 0 => 0
redis.arrays.consistent => 0 => 0
redis.arrays.distributor => no value => no value
redis.arrays.functions => no value => no value
redis.arrays.hosts => no value => no value
redis.arrays.index => 0 => 0
redis.arrays.lazyconnect => 0 => 0
redis.arrays.names => no value => no value
redis.arrays.pconnect => 0 => 0
redis.arrays.previous => no value => no value
redis.arrays.readtimeout => 0 => 0
redis.arrays.retryinterval => 0 => 0
redis.clusters.auth => no value => no value
redis.clusters.cache_slots => 0 => 0
redis.clusters.persistent => 0 => 0
redis.clusters.read_timeout => 0 => 0
redis.clusters.seeds => no value => no value
redis.clusters.timeout => 0 => 0
redis.pconnect.connection_limit => 0 => 0
redis.pconnect.pooling_enabled => 1 => 1
redis.session.lock_expire => 0 => 0
redis.session.lock_retries => 10 => 10
redis.session.lock_wait_time => 2000 => 2000
redis.session.locking_enabled => 0 => 0
but on installation got this -
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php72/lib/php/extensions/no-debug-n on-zts-20170718/
[OK] Installation of redis for bin completed!
ls: cannot access /usr/local/bin/lib/php.conf.d/*.ini: No such file or directory
using openlitespeed, with lsphp, also tried to check php extension on LSCWP its marked there is no redis php extension, any advice mate?
also checked DA file editor PHP both of them i have searched for Redis but added none to them