linux command リナックスコマンド(備忘録)php8系のインストール CentOS7
cd /usr/local/src
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install -y yum-utils yum-config-manager --disable 'remi-php*'
yum-config-manager --enable remi-php80 yum repolist
※php8系が出てればOK yum -y install −−enablerepo=remi-php php php php-xml php-xmlrpc php-pecl-mcrypt php-fpm php-pecl-apcu php-mbstring php-gd php-json php-pecl-json-post php-pdo php-mysqlnd php-pecl-mysql php-opcache php-pear php-soap php-intl php-pear
※こちらのオプションは必要なものを適用してください