본문으로 바로가기

centOS7 php5.6 설치

category [ 서버 & DB 관련 ]/리눅스 2020. 8. 18. 17:46

 

https://saksin.tistory.com/1282

 

CentOS 7.x 에서 php 5.6.x 또는 7 설치하기

최신의 PHP 를 설치하기 위하여 yum 저장소를 추가합니다. rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-releas..

saksin.tistory.com

 

 

https://www.tecmint.com/install-php-5-6-on-centos-7/

 

How to Install PHP 5.6 on CentOS 7

By default the CentOS 7 official software package repositories have PHP 5.4, which has reached the end of life and no longer actively maintained by the developers. To keep up with the latest features and security updates, you need a newer (probably the lat

www.tecmint.com

 

 

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

 

 

 

 

 

php56 에 존재하는 모듈 전체 설치

 

yum install -y --enablerepo=remi,remi-php56 php php-bcmath php-cli php-common php-dba php-dbg php-devel php-embedded php-enchant php-fpm php-gd php-gmp php-imap php-interbase php-intl php-ldap php-litespeed php-mbstring php-mcrypt php-mysqlnd php-odbc php-opcache php-pdo php-pgsql php-process php-pspell php-recode php-snmp php-soap php-tidy php-xml php-xmlrpc php-curl