版权声明:欢迎转载,请标明出处~ https://blog.csdn.net/chenshuai1993/article/details/80989776
Homebrew/php (deprecated)
These formulae were relating to PHP.
As announced on the 19th of January this tap was archived on 31st March 2018.
All formulae were migrated to Homebrew/homebrew-core or deleted.
18年3月, homebrew/php 这个tap不在维护了,扩展全部转移到 homebrew-core 或者 delete, php70-redis 这个扩展被删除了,安装需要源码安装,记录一下
- git clone [email protected]:phpredis/phpredis.git
- cd phpredis
- phpize
- ./configure
- make
- make install
- 修改php.ini 文件,加载扩展 extension = /usr/local/Cellar/[email protected]/7.1.19/pecl/20160303/redis.so
- 重启nginx
php -m | grep redis
查看
搞定