Created
September 27, 2018 18:15
-
-
Save jordantrizz/6cf84aadd3bdc9383dfa04a20b181013 to your computer and use it in GitHub Desktop.
Installing Redis PHP 7.2 Module for Litespeed Native on Ubuntu 18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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