您好,欢迎访问一九零五行业门户网

brew install php55 报错 BZip2 not found解决办法

max os x安装 php,使用brew 安装,一直提示 
checking for gzgets in -lz... yeschecking whether to enable bc style precision math functions... yeschecking for bzip2 support... yeschecking for bzip2 indefault path... notfoundconfigure: error: please reinstall the bzip2 distributionread this: https://git.io/brew-troubleshootingif reporting this issue please do so at (not homebrew/homebrew): https://github.com/josegonzalez/homebrew-php/issues解决办法,换安装 php56 版本。checking for gzgets in -lz... yeschecking whether to enable bc style precision math functions... yeschecking for bzip2 support... yeschecking for bzip2 indefault path... notfoundconfigure: error: please reinstall the bzip2 distributionread this: https://git.io/brew-troubleshootingif reporting this issue please do so at (not homebrew/homebrew): https://github.com/josegonzalez/homebrew-php/issues安装后,php5.so 位于 loadmodule php5_module /usr/local/cellar/php56/5.6.9/libexec/apache2/libphp5.so重启启动 ,sudo apachectl restart (可以解决yii2 安装提示缺少freetype 的问题) 以上就介绍了brew install php55 报错 bzip2 not found解决办法,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
其它类似信息

推荐信息