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教程有興趣的朋友有所幫助。