To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum:
CentOS/RHEL 7.x:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
CentOS/RHEL 6.x:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
Now you can install PHP 5.6’s mod_php SAPI (along with an opcode cache) by doing:
yum install php56w php56w-opcache
You can alternatively install PHP 5.6’s php-fpm SAPI (along with an opcode cache by doing:
yum install php56w-fpm php56w-opcache
yum install php56w-mysql php56w-mysqlnd php56w-odbc php56w-pdo php56w-snmp php56w-soap php56w-xml php56w-mssql php56w-mcrypt php56w-mbstring php56w-gd php56w-pecl-geoip php56w-pecl-imagick
yum install php56w-mysqlnd php56w-odbc php56w-pdo php56w-snmp php56w-soap php56w-xml php56w-mssql php56w-mcrypt php56w-mbstring php56w-gd php56w-pecl-geoip php56w-pecl-imagick
'리눅스' 카테고리의 다른 글
[리눅스 iptables] port 열기 방화벽 켜고 끄기 (0) | 2018.11.12 |
---|---|
tcpdump 사용법 (0) | 2018.11.12 |
리눅스 씨리얼 serial 확인 (0) | 2018.11.12 |
리눅스 반복 예약작업 cron, crond, crontab (0) | 2018.11.12 |
[CentOS] USB 저장장치 마운트 (FAT32) (0) | 2018.11.12 |