12
在macOS下用homebrew安装php 7.1以及pecl
source link: https://ooso.net/archives/760
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
用homebrew默认安装的php 7.1没有包含pecl命令。但是重新安装可以解决这个问题,如果出现libpng不兼容问题,可以加上-s参数
brew remove php71
brew install php71 --with-pear
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK