1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AWS EC2環境でphp8.0とcomposerをインストールする

Posted at

sudo amazon-linux-extras | grep php

php8.0の情報を見る
sudo amazon-linux-extras info php8.0

php8.0をインストールする
sudo amazon-linux-extras install php8.0

composerをインストールする
sudo curl -sS https://getcomposer.org/installer | sudo php

composerの移動
sudo mv composer.phar /usr/local/bin/composer

symbol linkを作成する
sudo ln -s /usr/local/bin/composer /usr/bin/composer

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?