CentOS 6에 PHP 5.4 설치

1 개요[ | ]

CentOS 6에 PHP 5.4 설치
  • 공식 rpm이 아니라고 함. 문제 있어도 책임 못짐;;;

2 사전 작업[ | ]

3 확인[ | ]

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

4 PHP 설치[ | ]

[root@zetawiki ~]# yum --enablerepo=remi install php
... (생략)
====================================================================================================
 Package                 Arch                Version                        Repository         Size
====================================================================================================
Installing:
 php                     x86_64              5.4.22-1.el6.remi              remi              2.7 M
Installing for dependencies:
 php-cli                 x86_64              5.4.22-1.el6.remi              remi              2.6 M
 php-common              x86_64              5.4.22-1.el6.remi              remi              926 k

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

Total download size: 6.2 M
Installed size: 24 M
Is this ok [y/N]: y
... (생략)
WARNING : These php-* RPM are not official Fedora / Red Hat build and
overrides the official ones. Don't file bugs on Fedora Project nor Red Hat.
→ 페도라/레드햇 공식 rpm이 아니라고 한다...
... (생략)
Installed:
  php.x86_64 0:5.4.22-1.el6.remi                                                                    

Dependency Installed:
  php-cli.x86_64 0:5.4.22-1.el6.remi              php-common.x86_64 0:5.4.22-1.el6.remi             

Complete!

5 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep php
php-cli-5.4.22-1.el6.remi.x86_64
php-5.4.22-1.el6.remi.x86_64
php-common-5.4.22-1.el6.remi.x86_64
[root@zetawiki ~]# php -v
PHP 5.4.22 (cli) (built: Nov 13 2013 09:28:56) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

6 같이 보기[ | ]

7 참고[ | ]

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