php version update 5.1 to 5.2

 

1. 현재 설치된 버전 확인

]# rpm -qa |grep php

2. update 하기 위해 파일 생성

]# vi /etc/yum.repos.d/CentOS-Testing.repo
# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*

3. 업데이트 하기

]# rpm -qa |grep php
]# yum update
]# service httpd restart

 

This entry was posted in PHP/ASP, WEB/WAS and tagged , , , . Bookmark the permalink.

댓글 남기기