"CentOS 6에 PHP 5.6 설치 (yum webtatic)"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
;CentOS에 PHP 5.6 설치 (yum)
;CentOS에 PHP 5.6 설치 (yum)


==사전 작업==
==확인==
*[[webtatic 저장소 추가]]
<source lang='dos'>
[root@jmnote ~]# php -v | head -1
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
</source>
<source lang='dos'>
[root@jmnote ~]# rpm -qa | grep ^php
php-common-5.3.3-27.el6_5.x86_64
php-mysql-5.3.3-27.el6_5.x86_64
php-cli-5.3.3-27.el6_5.x86_64
php-devel-5.3.3-27.el6_5.x86_64
php-5.3.3-27.el6_5.x86_64
php-xml-5.3.3-27.el6_5.x86_64
php-pear-1.9.4-4.el6.noarch
php-pdo-5.3.3-27.el6_5.x86_64
php-gd-5.3.3-27.el6_5.x86_64
php-intl-5.3.3-27.el6_5.x86_64
</source>
 
==webtatic 저장소 추가==
{{참고|webtatic 저장소 추가}}


==설치 시도 (오류)==
==설치 시도 (오류)==

2014년 6월 14일 (토) 21:54 판

CentOS에 PHP 5.6 설치 (yum)

1 확인

[root@jmnote ~]# php -v | head -1
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
[root@jmnote ~]# rpm -qa | grep ^php
php-common-5.3.3-27.el6_5.x86_64
php-mysql-5.3.3-27.el6_5.x86_64
php-cli-5.3.3-27.el6_5.x86_64
php-devel-5.3.3-27.el6_5.x86_64
php-5.3.3-27.el6_5.x86_64
php-xml-5.3.3-27.el6_5.x86_64
php-pear-1.9.4-4.el6.noarch
php-pdo-5.3.3-27.el6_5.x86_64
php-gd-5.3.3-27.el6_5.x86_64
php-intl-5.3.3-27.el6_5.x86_64

2 webtatic 저장소 추가

3 설치 시도 (오류)

[root@jmnote ~]# yum install --enablerepo=webtatic-testing php56w php56w-opcache
... (생략)
Error: php56w-common conflicts with php-common-5.3.3-27.el6_5.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

4 yum-plugin-replace 설치

[root@jmnote ~]# yum install yum-plugin-replace
... (생략)
========================================================================
 Package               Arch      Version              Repository   Size
========================================================================
Installing:
 yum-plugin-replace    noarch    0.2.6-1.ius.el6      webtatic     17 k

Transaction Summary
========================================================================
Install       1 Package(s)

Total download size: 17 k
Installed size: 34 k
Is this ok [y/N]: y
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
Importing GPG key 0xCF4C4FF9:
 Userid : Andy Thompson <andy@webtatic.com>
 Package: webtatic-release-6-4.noarch (installed)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
Is this ok [y/N]: y
... (생략)
Installed:
  yum-plugin-replace.noarch 0:0.2.6-1.ius.el6                           

Complete!

5 같이 보기

6 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}