max os x安装 php,使用brew 安装,一直提示
<codecourier new font-size:1em padding:0px color:inherit background-color:transparent white-space:pre-wrap>checking <span>for</span> gzgets <span>in</span> -lz... yes
checking whether <span>to</span> enable bc style <span>precision</span> math functions... yes
checking <span>for</span> BZip2 support... yes
checking <span>for</span> BZip2 <span>in</span><span>default</span> path... <span>not</span><span>found</span>
configure: error: Please reinstall the BZip2 distribution
<span>READ</span> THIS: https://git.io/brew-troubleshooting
<span>If</span> reporting this issue please <span>do</span> so <span>at</span> (<span>not</span> Homebrew/homebrew):
https://github.com/josegonzalez/homebrew-php/issues解决办法,换安装 php56 版本。
<pre class="brush:php;toolbar:false;" courier new font-size:0.92857em padding:10px margin-top:18px margin-bottom:18px line-height:1.3 word-break:break-all word-wrap:break-word color:rgb background-color:rgb border:none position:relative max-height:500px><codecourier new font-size:1em padding:0px color:inherit background-color:transparent white-space:pre-wrap>checking <span>for</span> gzgets <span>in</span> -lz... yes
checking whether <span>to</span> enable bc style <span>precision</span> math functions... yes
checking <span>for</span> BZip2 support... yes
checking <span>for</span> BZip2 <span>in</span><span>default</span> path... <span>not</span><span>found</span>
configure: error: Please reinstall the BZip2 distribution
<span>READ</span> THIS: https://git.io/brew-troubleshooting
<span>If</span> reporting this issue please <span>do</span> so <span>at</span> (<span>not</span> Homebrew/homebrew):
https://github.com/josegonzalez/homebrew-php/issues安装后,php5.so 位于
<pandale mono color:rgb background-color:rgb>LoadModule php5_module /usr/local/Cellar/php56/5.6.9/libexec/apache2/libphp5.so重启启动 ,sudo apachectl restart (可以解决yii2 安装提示缺少freetype 的问题)
<p>
以上就介绍了brew install php55 报错 BZip2 not found解决办法,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。</p>
<p>
</p>
</pandale></codecourier>











