最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
centos yum 升级php到5.5的步骤详解
时间:2022-06-30 20:46:02 编辑:袖梨 来源:一聚教程网
查看服务器 php 列表
yum list | grep php
http://dl.fedo*rapro*jec*t.org/pub/epel/5/x86_64/
#rpm -ivh http://dl.fedo*rapro*jec*t.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ivh http://dl.fedo*rapro*jec*t.org/pub/epel/5/x86_64/epel-rpm-macros-5-7.noarch.rpm
rpm -Uvh http://dl.fedo*rapro*jec*t.org/pub/epel/5/x86_64/epel-rpm-macros-5-7.noarch.rpm
添加 epel 源
rpm -Uvh http://download.fe*doraproj*ec*t.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
添加 remi 源
# rpm -Uvh http://rpms.**f*amillecollet.com/enterprise/remi-release-6.rpm
yum –enablerepo=remi,remi- php 55 install php -fpm php-common php-devel php-mysqlnd php-mb
rpm -Uvh http://download.fe*doraproj*ec*t.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
显示需要安装
epel-release = 5 is needed by (installed) epel-rpm-macros-5-7.noarch
epel-release = 6 is needed by remi-release-6.8-1.el6.remi.noarch
2、remi
#rpm -ivh http://rpms.**famillecoll*et.com/enterprise/remi-release-5.rpm
yum -y install php --enablerepo=remi
安装到5.5
yum --enablerepo=remi,remi-php55 install php-fpm php-common php-devel php-mysqlnd php-mb
安装gd库
yum install php-gd*
yum --enablerepo=remi,remi-php55 install php-gd*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* epel: mirrors.neusoft.edu.cn
* extras: mirrors.btte.net
* updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package php-gd.x86_64 0:5.3.3-48.el6_8 will be installed
–> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-gd-5.3.3-48.el6_8.x86_64
–> Finished Dependency Resolution
Error: Package: php-gd-5.3.3-48.el6_8.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-48.el6_8
Installed: php-common-5.5.38-4.el6.remi.x86_64 (@remi-php55)
php-common(x86-64) = 5.5.38-4.el6.remi
Available: php-common-5.3.3-47.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-47.el6
Available: php-common-5.3.3-48.el6_8.x86_64 (updates)
php-common(x86-64) = 5.3.3-48.el6_8
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
相关文章
- 夸克网页版-夸克浏览器网页版入口 01-18
- 动漫共和国入口_动漫共和国官网与分类导航 01-18
- 绝世唐门漫画完整免费入口在哪?2026最新免费观看地址及平台汇总 01-18
- 网页版小红书直达入口-网页版小红书免APP直接访问 01-18
- 腾讯视频vip如何免费领取-腾讯视频vip看广告免费获取 01-18
- 拷贝漫画2.1.0.4版本安卓下载入口在哪-拷贝漫画2.1.0.4最新官方安装包下载 01-18