mac php7.0, after re-installation php7.1, various problems arise

brew install php71, stop and brew unlink php70 service, start php71,

icu4c upgrade from 61.1 to 62.1, it will lead to error when executing php -v, with absolute paths of execution: /usr/local/opt/[email protected]/bin/php -v

Install redis, swoole extension, pay attention to delete previously installed files folder, re-phpize, ./configure, make, sudo make install

Last modified php.ini

extension=/usr/local/Cellar/[email protected]/7.1.24_1/pecl/20160303/redis.so

extension=/usr/local/Cellar/[email protected]/7.1.24_1/pecl/20160303/swoole.so

Guess you like

Origin blog.csdn.net/qq_41074373/article/details/84633814