sudo apt updatesudo apt install redis-serversudo nano /etc/redis/redis.confsupervised systemdmaxmemory 128Mmaxmemory-policy allkeys-lfusudo systemctl restart redis.servicesudo systemctl status redisredis-cliandping
wget https://github.com/nicolasff/phpredis/archive/master.zipapt install unzipsudo apt install php-devcd phpredis-masterphpize./configuremakesudo make installsudo echo "extension=redis.so" > /etc/php/7.x/apache2/conf.d/redis.inicreate a redis.inisudo service redis-server restartapache2ctl restart
Hi, Alexander, could you please recheck the PHP-Redis link once more.. I think it's dead and the new link is here: https://github.com/phpredis/phpredis/archive/develop.zip
could you please recode PHP-redis for me. Thanks!