文章出處

brew install homebrew/php/php56 --with-apache

報錯:
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz

解決:
xcode-select --install 五分鐘之后ok

ok

note:
mac自帶了一個版本的PHP, 自帶的Apache關聯了PHP,可以跑通,但是brew不能安裝這個自帶版本的PHP擴展
當brew install someextension 的時候,它會自動的安裝一個版本的PHP,所有就把Apache關聯到這個新安裝的PHP版本上


文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()