If you read the article and think "Isn't it okay?", Please LGTM.
-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
$ yum list installed | grep php
If it is installed, remove it
$ yum remove php*
$ yum install epel-release
$ yum install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
$ yum remove php-*
$ yum install php74
$ 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