php 설치

    [CentOS 7] php 7.x 설치

    1. remi 저장소 설치 # yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm CentOS 8 버전이라면 remi-release-8.rpm 을 설치한다. 2. epel 저장소 설치 # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm remi 저장소를 먼저 설치할 경우 간혹 epel 종속성 때문에 에러가 날 수 있다. 따라서 remi저장소가 설치가 안 될 경우 epel 부터 설치하면 된다. 3. repository 확인 # yum repolist all | grep -i 'php' php 에 관련된 repo 정보들이 나온다. yum i..