PHPをApacheとターミナルの両方で実行させる際のTips ref: http://qiita.com/taroutan001@github/items/0cdcb6a84ffb8651ef83