최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday

티스토리 뷰

8번 글의 yum설정을 적용했다는 가정하에..

 

1. yum으로 php 5.3.x 설치

 

Atomic 저장소 설치하기

기본 상태의 Yum에서는 PHP 5.2.x 이하가 설치된다. Yum으로 PHP 5.3.x를 설치하려면, 먼저 Atomic 저장소(Atomic repository)를 설치한다. (Atomic 저장소가 이미 깔려 있다면 이 단계는 넘어간다.)
숫자가아니라 영어 O 이다.

 

# wget -q -O - http://www.atomicorp.com/installers/atomic | sh

 

PHP설치

 

새로설치 : # yum install php

  판올림 : # yum update php

 

설치했을때의 화면

 

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www5.atomicorp.com
* base: ftp.daum.net
* epel: ftp.neowiz.com
* extras: ftp.daum.net
* updates: ftp.daum.net
addons | 1.9 kB 00:00
atomic | 1.9 kB 00:00
atomic/primary_db | 874 kB 00:07
base | 1.1 kB 00:00
epel | 3.4 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Update Process

Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-cli.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-common.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-devel.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-fpm.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-gd.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-mbstring.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-mcrypt.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-mysql.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-pdo.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-xml.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-xmlrpc.x86_64 0:5.3.14-6.el5.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
php x86_64 5.3.14-6.el5.art atomic 2.8 M
php-cli x86_64 5.3.14-6.el5.art atomic 2.6 M
php-common x86_64 5.3.14-6.el5.art atomic 1.0 M
php-devel x86_64 5.3.14-6.el5.art atomic 1.3 M
php-fpm x86_64 5.3.14-6.el5.art atomic 1.4 M
php-gd x86_64 5.3.14-6.el5.art atomic 209 k
php-mbstring x86_64 5.3.14-6.el5.art atomic 2.3 M
php-mcrypt x86_64 5.3.14-6.el5.art atomic 48 k
php-mysql x86_64 5.3.14-6.el5.art atomic 95 k
php-pdo x86_64 5.3.14-6.el5.art atomic 120 k
php-xml x86_64 5.3.14-6.el5.art atomic 225 k
php-xmlrpc x86_64 5.3.14-6.el5.art atomic 86 k
Transaction Summary
================================================================================
Install 0 Package(s)
Upgrade 12 Package(s)

Total download size: 12 M
Is this ok [y/N]:


 

 

y를 누르고 엔터를 치면 새 판번호의 php구성요소가 설치됨.

Downloading Packages:
(1/12): php-mcrypt-5.3.14-6.el5.art.x86_64.rpm | 48 kB 00:01
(2/12): php-xmlrpc-5.3.14-6.el5.art.x86_64.rpm | 86 kB 00:01
(3/12): php-mysql-5.3.14-6.el5.art.x86_64.rpm | 95 kB 00:01
(4/12): php-pdo-5.3.14-6.el5.art.x86_64.rpm | 120 kB 00:01
(5/12): php-gd-5.3.14-6.el5.art.x86_64.rpm | 209 kB 00:02
(6/12): php-xml-5.3.14-6.el5.art.x86_64.rpm | 225 kB 00:02
(7/12): php-common-5.3.14-6.el5.art.x86_64.rpm | 1.0 MB 00:06
(8/12): php-devel-5.3.14-6.el5.art.x86_64.rpm | 1.3 MB 00:07
(9/12): php-fpm-5.3.14-6.el5.art.x86_64.rpm | 1.4 MB 00:07
(10/12): php-mbstring-5.3.14-6.el5.art.x86_64.rpm | 2.3 MB 00:13
(11/12): php-cli-5.3.14-6.el5.art.x86_64.rpm | 2.6 MB 00:16
(12/12): php-5.3.14-6.el5.art.x86_64.rpm | 2.8 MB 00:16
--------------------------------------------------------------------------------
Total 139 kB/s | 12 MB 01:29
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : php-common 1/24
warning: /etc/php.ini created as /etc/php.ini.rpmnew
Updating : php-cli 2/24
Updating : php 3/24
Updating : php-pdo 4/24
Updating : php-mcrypt 5/24
Updating : php-gd 6/24
Updating : php-xml 7/24
Updating : php-mysql 8/24
Updating : php-devel 9/24
Updating : php-fpm 10/24
Updating : php-mbstring 11/24
Updating : php-xmlrpc 12/24
Cleanup : php-common 13/24
Cleanup : php-mcrypt 14/24
Cleanup : php-gd 15/24
Cleanup : php-xml 16/24
Cleanup : php-mysql 17/24
Cleanup : php-pdo 18/24
Cleanup : php-devel 19/24
Cleanup : php-fpm 20/24
Cleanup : php-mbstring 21/24
Cleanup : php 22/24
Cleanup : php-xmlrpc 23/24
Cleanup : php-cli 24/24

Updated:
php.x86_64 0:5.3.14-6.el5.art php-cli.x86_64 0:5.3.14-6.el5.art
php-common.x86_64 0:5.3.14-6.el5.art php-devel.x86_64 0:5.3.14-6.el5.art
php-fpm.x86_64 0:5.3.14-6.el5.art php-gd.x86_64 0:5.3.14-6.el5.art
php-mbstring.x86_64 0:5.3.14-6.el5.art php-mcrypt.x86_64 0:5.3.14-6.el5.art
php-mysql.x86_64 0:5.3.14-6.el5.art php-pdo.x86_64 0:5.3.14-6.el5.art
php-xml.x86_64 0:5.3.14-6.el5.art php-xmlrpc.x86_64 0:5.3.14-6.el5.art

Complete!

 

댓글