0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Laravel11を指定ディレクトリへプロジェクトフォルダ付きでインストールするコマンド

Last updated at Posted at 2025-01-29

①以下の様に、プロジェクトフォルダを作成するディレクトリにカレントディレクトリを移動
 cd /Applications/XAMPP/xamppfiles/htdocs

②composer create-project laravel/laravel=11.x プロジェクト名


cd プロジェクト名
sudo chmod -R 0777 storage
sudo chmod -R 0777 bootstrap/cache

④database.phpにてデフォルトのDBをsqliteからmysqlに変

⑤.envファイルの以下のオプションを設定
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=test01
DB_USERNAME=root
DB_PASSWORD=

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?