Heim  >  Artikel  >  Backend-Entwicklung  >  brew install php55 报错 BZip2 not found解决办法

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

WBOY
WBOYOriginal
2016-08-08 09:24:071911Durchsuche

max os x安装 php,使用brew 安装,一直提示 

checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes checking for BZip2 support... yes checking for BZip2 indefault path... notfound configure: error: Please reinstall the BZip2 distribution READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/josegonzalez/homebrew-php/issues解决办法,换安装 php56 版本。 checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes checking for BZip2 support... yes checking for BZip2 indefault path... notfound configure: error: Please reinstall the BZip2 distribution READ THIS: https://git.io/brew-troubleshooting If 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教程有兴趣的朋友有所帮助。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn