Thứ Hai, 5 tháng 3, 2012

Update php 5.1 lên PHP 5.2

 Trong centos 5.x thì phiên bản php là 5.1
Có thể sau khi cài phpMyadmin yêu cầu PHP 5.2 ta có thể update như sau :
Sửa file bằng lệnh  utterramblings.repo
nano -w /etc/yum.repos.d/utterramblings.repo
 
Thêm đoạn sau vào :
 
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka 
cuối cùng gõ lệnh :
 
yum update php -y

Không có nhận xét nào:

Đăng nhận xét