CentOS5.x system yum upgrade php to 5.2.x (test available)
- # Rpm -- import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
# Vi/etc/yum. repos. d/CentOS-Base.repo add the following information
- [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
Run the command to automatically upgrade the instance.
- Yum update php-y
- Yum install libmcrypt-y
It has been verified that it is possible. When an error occurs, consider the following solution. Method 1: change the url
- Rpm -- import http://apt.sw.be/RPM-GPG-KEY.dag.txt
Method 2: download the package from the network to your local computer before installing the package.
- Wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
- Rpm -- import RPM-GPG-KEY.dag.txt
The above two methods can be used after testing. |