centos6에 php완전 삭제 후 재설치
- 프로그래밍/서버(리눅스,centos)
- 2020. 5. 6.
1)php 및 모듈 확인
rpm -qa php
rpm -qa | grep php
2)완전삭제
yum -y remove php*
3)
먼저 epel-releaseyum 저장소를 추가한다
yum install epel-release
운영체제 버전에 맞는 remi-release 설치
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
(centos8) sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum --enablerepo=remi-php72 install php
yum --enablerepo=remi-php72 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt php-mysql php-bcmath php-gd php-mysqlnd php-pear php-process php-devel php-json php-opcache php-pdo
'프로그래밍 > 서버(리눅스,centos)' 카테고리의 다른 글
서버(APM) 설정 & php_admin_value engine Off (0) | 2020.05.07 |
---|---|
[추천팁]리눅스 centos mysql root 비밀번호 설정 (0) | 2020.05.07 |
http에서 https으로 자동 리다이렉트 (0) | 2020.04.20 |
centos6 서버 시간설정이 서울로 안될때 조치방법 (0) | 2020.03.03 |
webmin에 vsftpd 모듈 추가 - 후기 (0) | 2020.01.03 |