CentOS 6에 PHP 5.5 설치

  다른 뜻에 대해서는 CentOS 6에 PHP 5.6 설치 (yum) 문서를 참조하십시오.
CentOS 6에 PHP 5.5 설치 (yum)

1 사전 작업[ | ]

2 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep php
[root@zetawiki ~]# rpm -qa | grep remi-release
remi-release-6.4-1.el6.remi.noarch
→php 는 설치 안됨. remi-release는 설치됨

3 PHP 설치[ | ]

[root@zetawiki ~]# yum --enablerepo=remi-php55 install php
... (생략)
====================================================================================================
 Package                 Arch            Version                          Repository           Size
====================================================================================================
Installing:
 php                     x86_64          5.5.6-1.el6.remi                 remi-php55          2.5 M
Installing for dependencies:
 php-cli                 x86_64          5.5.6-1.el6.remi                 remi-php55          2.4 M
 php-common              x86_64          5.5.6-1.el6.remi                 remi-php55          1.0 M
 php-pear                noarch          1:1.9.4-20.el6.remi              remi-php55          371 k
 php-pecl-jsonc          x86_64          1.3.2-2.el6.remi.1               remi-php55           45 k
 php-pecl-zip            x86_64          1.12.2-2.el6.remi.5.5            remi-php55          265 k
 php-process             x86_64          5.5.6-1.el6.remi                 remi-php55           51 k
 php-xml                 x86_64          5.5.6-1.el6.remi                 remi-php55          202 k

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

Total download size: 6.9 M
Installed size: 27 M
Is this ok [y/N]: y
... (생략)
Installed:
  php.x86_64 0:5.5.6-1.el6.remi                                                                     

Dependency Installed:
  php-cli.x86_64 0:5.5.6-1.el6.remi                 php-common.x86_64 0:5.5.6-1.el6.remi            
  php-pear.noarch 1:1.9.4-20.el6.remi               php-pecl-jsonc.x86_64 0:1.3.2-2.el6.remi.1      
  php-pecl-zip.x86_64 0:1.12.2-2.el6.remi.5.5       php-process.x86_64 0:5.5.6-1.el6.remi           
  php-xml.x86_64 0:5.5.6-1.el6.remi                

Complete!

4 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep php
php-common-5.5.6-1.el6.remi.x86_64
php-cli-5.5.6-1.el6.remi.x86_64
php-process-5.5.6-1.el6.remi.x86_64
php-pecl-jsonc-1.3.2-2.el6.remi.1.x86_64
php-pear-1.9.4-20.el6.remi.noarch
php-5.5.6-1.el6.remi.x86_64
php-xml-5.5.6-1.el6.remi.x86_64
php-pecl-zip-1.12.2-2.el6.remi.5.5.x86_64
[root@zetawiki ~]# php -v
PHP 5.5.6 (cli) (built: Nov 13 2013 07:48:35) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

5 같이 보기[ | ]

6 참고[ | ]

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