安裝在OSX上

作者有點懶...改天補上。
請先參考

影片

好拉 補充一下

安裝 Homebre



// 執行前,建議先執行brew update更新一下
brew update
brew tap homebrew/dupes 
brew tap homebrew/versions 
brew tap homebrew/homebrew-php

// 檢查看一下有沒有其他版本 解除安裝 或 解除連結
brew list 
brew uninstall php56
brew unlink php56

安裝 PHP 7.0

#重要 --with-apache --with-httpd24 參數別省略
brew install php70 --with-apxs2 --with-apache --with-gmp --with-imap --with-tidy --with-debug --with-httpd24

增加環境變數

# 後面這個啊 有的主機是 .bashrc .zshrc .zsh_profile 自己替換
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bash_profile
source ~/.bash_profile
echo $PATH

更改apache設定檔

``` sudo vim /etc/apache2/httpd.conf ```

results matching ""

    No results matching ""