PHP installation (CentOS 8)

If you read the article and think "Isn't it okay?", Please LGTM.

Prerequisites

-Install PHP on CentOS built with docker ・ The version of CentOS is as follows

$ cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)

Check if PHP is already installed

Check if PHP is already installed

$ yum list installed | grep php

If it is installed, remove it

$ yum remove php*

Install PHP

$ yum install epel-release
$ yum install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
$ yum remove php-*
$ yum install php74

Check if PHP is installed

$ php74 -version
PHP 7.4.12 (cli) (built: Oct 27 2020 15:01:52) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Recommended Posts

PHP installation (CentOS 8)
centOS 7 installation error
Installation of CentOS 8
CentOS 7 + ffmpeg installation
Python 2.7 installation (yum) (CentOS 6.8)
Installation on CentOS8 VirtualBox
Python 3.5 installation (yum) (CentOS 6.8)
python (pyenv + pyenv-virtualenv) + CentOS7 installation
CentOS 8 installation procedure (latest version)
Docker Easy Installation Procedure (CentOS)
Apache installation fails on CentOS 8.2
NTP (Chrony) installation method (CentOS8)
Teamviewer for Linux installation procedure (CentOS)
Oracle Database 18c installation (Linux CentOS 7 edition)
Django installation
Cuda installation
boto3 installation
Pythia Installation
Docker installation
Volatility installation
Python installation
pip installation
Sphinx installation
InstantOS 1 installation
Jupyter installation
Pleasanter .NetCore version installation (CentOS7 .NetCore2.2 SQL Server 2019)
Python installation
pip installation
Kivy installation
ChaSen installation
Backtrader installation
pip installation
[Linux] Basic settings after OS installation of CentOS 7.3