LoginSignup
0
0

More than 1 year has passed since last update.

AmazonLinux2においてremi-php80からphp8.0をインストールする

Posted at

最初にremiのrepositoryを導入。
過去に導入済みであればskip。

yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

必要なpackageをinstall。

このとき、--enablerepo=remi-php80を指定する。
php8.1をinstallしたい場合は--enablerepo=remi-php81とする。

依存関係でエラーが出る場合は--disablerepo=amzn2-coreを指定する。

sudo yum install --disablerepo=amzn2-core --enablerepo=remi-php80 php.x86_64 php-cli.x86_64 php-common.x86_64 php-devel.x86_64 php-fpm.x86_64 php-intl.x86_64 php-json.x86_64 php-mbstring.x86_64 php-pdo.x86_64 php-pecl-mcrypt.x86_64 php-pecl-pcov.x86_64 php-pecl-xdebug.x86_64 php-process.x86_64 php-soap.x86_64 php-sodium.x86_64 php-xml.x86_64  
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