일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- 명령어
- CentOS
- MOUNT
- Fedora
- VirtualBox
- APM
- httpd.conf
- BIND
- xampp
- GlusterFS
- php5
- ftp
- AIR
- Network
- Laravel
- VMware
- vsftpd
- redmine
- JavaScript
- ubuntu
- MySQL
- Subversion
- tw_cli
- fstab
- php
- 라라벨
- nateon
- Trac
- Linux
- exception
- Today
- Total
어제와 똑같이 살면서 다른 미래를 기대하지 말자
[CentOS] APM (PHP 5.6.x 설치) 본문
CentOS PHP 5.6.x 설치할 경우
PHP 5.6.20 설치
[CentOS 7]
# 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 6]
# http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
remi repo 설치/설정
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
/etc/yum.repos.d/ 밑에 remi.repo, remi-php70.repo 등이 생성됨
# vi /etc/yum.repos.d/remi.repo 수정
[remi]
name=Remi's RPM repository for Enterprise Linux 7 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/remi/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php55]
name=Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/php55/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/7/php55/mirror
# NOTICE: common dependencies are in "remi-safe"
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php56]
name=Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/php56/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/7/php56/mirror
# NOTICE: common dependencies are in "remi-safe"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
PHP 모듈 설치
# yum install php php-common php-cli php-fpm php-mysqlnd php-gd php-mbstring php-mcrypt php-opcache php-pear php-xml php-xmlrpc php-embedded php-bcmath php-imap php-pdo php-pecl-imagick php-soap php-devel php-ldap php-intl php-pecl-apcu php-snmp php-tidy php-dba php-zip
참고
https://www.mojowill.com/geek/howto-install-php-5-4-5-5-or-5-6-on-centos-6-and-centos-7/
https://www.digitalocean.com/community/questions/how-to-install-php-5-6-on-centos-7-0-x64
'IT관심분야 > Linux' 카테고리의 다른 글
GlusterFS Client 3.7.x -> Server 3.6.x 연동 시 (0) | 2016.07.07 |
---|---|
[GlusterFS] 구성제안 및 운영 (0) | 2016.07.07 |
[CentOS7] firewalld to iptables 사용 (0) | 2016.03.30 |
[CentOS7] fail2ban 설치 및 설정 (0) | 2016.03.30 |
[CentOS] 리눅스 Charset 확인 및 변경 (0) | 2016.02.19 |