LoginSignup
1
3

More than 1 year has passed since last update.

Laravel Mamp環境構築

Posted at

方法

参考サイト
Mampの立ち上げエラー時解消したサイト

Mampの場合composerが入っていれば

Laravelインストール
$ cd /Applications/MAMP/htdocs/
$ composer create-project laravel/laravel --prefer-dist laravel
$ cd laravel/
$ chmod -R 777 storage
$ chmod -R 777 bootstrap/cache

上記を行えば後はMampのPHPのバージョンを8以上に設定を変えて、
ドキュメントルートを
Applications ▹ MAMP ▹ htdocs ▹ laravel ▹ public
に変更すれば立ち上がった(上記ドキュメントルートの「laravel」はディレクトリ名)。

1
3
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
1
3