티스토리 뷰
root 계정으로 아래 명령 실행
$ rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm $ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm $ cd /etc/yum.repos.d $ curl -O http://rpms.famillecollet.com/enterprise/remi.repo
http://itzone.tistory.com/669 참고하여 저장소 enabling
http://saksin.tistory.com/1282 참고하여 저장소 추가
PHP 5.6.x 설치하려면 remi 저장소의 remi, remi-php56 을 활성화 :
$ vi /etc/yum.repos.d/remi.repo
[remi]
name=Les RPM de remi pour Enterprise Linux 7 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/7/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php56]
name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/7/php56/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/7/php56/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
PHP 7.x 설치하려면 remi 저장소의 remi-php70 을 활성화 :
$ vi /etc/yum.repos.d/remi-php70.repo
# This repository only provides PHP 7.0 and its extensions
# NOTICE: common dependencies are in "remi-safe"
[remi-php70]
name=Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/php70/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/7/php70/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php70-debuginfo]
name=Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - $basearch - debuginfo
baseurl=http://rpms.remirepo.net/enterprise/7/debug-php70/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php70-test]
name=Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/test70/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/7/test70/mirror
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php70-test-debuginfo]
name=Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - $basearch - debuginfo
baseurl=http://rpms.remirepo.net/enterprise/7/debug-test70/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
yum 업데이트 실시
$ yum update
패키지 설치는
만약 mbstring, mcrypt, soap, apc 와 같은 PHP-모듈들을 추가 설치하고싶다면 아래와같이
$ yum install -y php php-fpm php-devel php-cli php-mysql php-mbstring php-mcrypt php-soap php-apc $ yum install gd-last $ yum groupinstall "PHP Support" –y
위와같이 실행하면 PHP-FPM 5.6 설치됨.
PHP-FPM 버젼 확인
[root@Chandan yum.repos.d]# /usr/sbin/php-fpm -version PHP 5.6.12 (fpm-fcgi) (built: Aug 6 2015 17:15:15) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies [root@Chandan yum.repos.d]#
출처: https://geekflare.com/install-upgrade-php-fpm-5-6-on-centos-6/
'OS-서버-서비스 > Linux' 카테고리의 다른 글
CentOS 6 최신 패키지 저장소 EPEL, REMI 셋팅 (0) | 2016.04.07 |
---|---|
CentOS 6 에 Nginx 1.9.x mainline 버젼 설치 (0) | 2016.04.06 |
CentOS NginX 403 Forbidden error 해결 (3) | 2015.12.08 |
콘솔에서 curl 이용하여 실행시간 Benchmarking (0) | 2015.11.24 |
supervisor (0) | 2015.11.24 |
- Total
- Today
- Yesterday
- Make Use Of
- How to geek
- 인터넷 통계정보 검색시스템
- 트위터 공유 정보모음
- 웹표준KR
- 치우의 컴맹탈출구
- Dev. Cheat Sheets
- w3schools
- Dev. 조각들
- ASP Ajax Library
- CSS Tricks
- WebResourcesDepot
- jQuery Selectors Tester
- DeveloperSnippets
- Smashing Magazine
- Nettuts+
- devListing
- 웹 리소스 사이트(한)
- Mobile tuts+
- Dream In Code
- Developer Tutorials
- CSS3 Previews
- 자북
- 안드로이드 사이드
- Code Visually
- Code School
- SQLer.com
- 무료 파워포인트 템플릿
- iconPot
- Free PowerPoint Templates
- Design Bombs
- Web Designer Wall
- 1st Webdesigner
- Vandelay Design
- 무료 벡터 이미지 사이트들
- Tripwire Magazine
- Web TrendSet
- WebMonkey
- 윤춘근 프리젠테이션 디자이너 블로그
- cz.cc 무료 DNS
- [웹하드] MediaFire
- [웹하드] DivShare
- 한컴 인터넷 오피스
- ASP
- iis
- centos
- Linux
- sencha touch
- nginx
- CSS
- Android
- 한글
- JSON
- Debug
- IE
- 워드프레스
- PHP
- laravel
- Mac
- Chrome
- mssql
- JQuery
- API
- 안드로이드
- git
- nodejs
- Docker
- javascript
- Wordpress
- IOS
- Prototype
- iphone
- classic asp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |