Skip to content

Instantly share code, notes, and snippets.

@jordantrizz
Created September 27, 2018 18:15
Show Gist options
  • Save jordantrizz/6cf84aadd3bdc9383dfa04a20b181013 to your computer and use it in GitHub Desktop.
Save jordantrizz/6cf84aadd3bdc9383dfa04a20b181013 to your computer and use it in GitHub Desktop.
Installing Redis PHP 7.2 Module for Litespeed Native on Ubuntu 18
# Pre-req is the Litespeed Ubuntu repository
apt-get install lsphp72-dev
cd /tmp
wget https://github.com/phpredis/phpredis/archive/master.zip -O phpredis.zip
unzip -o /tmp/phpredis.zip
mv /tmp/phpredis-* /tmp/phpredis
cd /tmp/phpredis
/usr/local/lsws/lsphp72/bin/phpize7.2
./configure --with-php-config=/usr/local/lsws/lsphp72/bin/php-config
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment