参考链接:
https://blog.mimvp.com/article/4782.html
sudo apt-get install php-pear php-dev
https://blog.csdn.net/noobman/article/details/90726061
pecl install redis
pecl 安装 phpredis
原文:https://www.cnblogs.com/hzijone/p/13713443.html