LoginSignup
2
2

More than 5 years have passed since last update.

PHP環境構築の構築メモ

Last updated at Posted at 2017-05-09

初めに

あると良いもの

  • ターミナル(黒い画面)
  • Git

Mac の方は アプリケーション一覧から「その他」→ 「ターミナル」を選択

Windows の方は Git for Windows がオススメです。

Git for Windows https://git-for-windows.github.io/

PHP実行環境

OSX

以下のサイトを参考にターミナル経由でのインストールが一番簡単です。

こちらから適宜必要なバージョンをインストールする。

$ curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1

インストール後に~/.profile ファイルを作成して、以下の内容を書き込みます。

export PATH=/usr/local/php5/bin:$PATH

Win

仮想環境などを使わないのであれば Mamppなど

Vagrant仮想環境を使うのであれば、 Homestead が一番オススメ。

Vagrant https://www.vagrantup.com/
Virtualbox https://www.virtualbox.org/
Homestead https://laravel.com/docs/5.4/homestead

Composer

イマドキPHPを使用するなら Composer は必須です。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2