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

仮想マシンを作ろう! PHPインストール編②

Last updated at Posted at 2025-01-24

■php

1epel-relese インストール
2remi レポジトリを追加
3PHP をインストール

yum repolist
rpm -qa epel-release
yum list epel-release
yum list epel-release
yum install epel-release
rpm -qa epel-release
yum list installed epel-release
yum repolist

rpm -qa | grep remi-release
rpm -qa | grep epel-release
yum install http://rpms.famillecollet.com/enterprise/remi-release-8.rpm
rpm -qa | grep remi-release
yum list remi-release
yum repolist | grep remi

php -v
rpm -qa | grep php
rpm -qa | grep remi-release
yum --enablerepo=remi-php83 install php
rpm -qa | grep php
php -v

その他

yum list epel-releaseの代わりに
EPELリポジトリ追加でもよい
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

EPELリポジトリを追加したのでRemiリポジトリ追加できるようになるので、このコマンドでもよい
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-8.rpm

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