• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

linux – 使用Webtatic的yum源安装完php5.5之后无法再安装phpize和pecl

php 搞代码 3年前 (2022-01-23) 20次浏览 已收录 0个评论
文章目录[隐藏]

我使用http://www.blogjava.net/nkjav…这里的方法安装的php5.5,但是后来想安装phpize的时候出现如下错误,如何解决?这问题困扰了我很久,一直不知道该怎么弄,现在默认的yum源都是5.3,但是我项目是yii2.0框架开发的,必须用5.4以上的版本,我试过国内163的yum源也是php5.3。谢谢各位大神指导!

<code>[root@centos ~]# yum install php-develLoaded plugins: fastestmirror, securityLoading mirror speeds from cached hostfilewebtatic: uk.repo.webtatic.comSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package php-devel.x86_64 0:5.3.3-47.el6 will be installed--> Processing Dependency: php(x86-64) = 5.3.3-47.el6 for package: php-devel-5.3.3-47.el6.x86_64--> Running transaction check---> Package php.x86_64 0:5.3.3-47.el6 will be installed--> Processing Dependency: php-common(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64--> Processing Dependency: php-cli(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64--> Running transaction check---> Package php-cli.x86_64 0:5.3.3-47.el6 will be installed---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed--> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common  Finished Dependency ResolutionError: php55w-common conflicts with php-common-5.3.3-47.el6.x86_64You could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest</code>

我已尝试过先用Webtatic源安装5.5然后再换回163的源安装phpize发现还是报上面的错误。。。

回复内容:

我使用http://www.blogjava.net/nkjav…这里的方法安装的php5.5,但是后来想安装phpize的时候出现如下错误,如何解决?这问题困扰了我很久,一直不知道该怎么弄,现在默认的yum源都是5.3,但是我项目是yii2.0框架开发的,必须用5.4以上的版本,我试过国内163的yum源也是php5.3。谢谢各位大神指导!

<code>[root@centos ~]# yum install php-develLoaded plugins: fastestmirror, securityLoading mirror speeds from cached hostfilewebtatic: uk.repo.webtatic.comSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package php-devel.x86_64 0:5.3.3-47.el6 will be installed--> Processin<mark style="color:transparent">本%文来源gaodaimacom搞#^代%!码网@</mark>搞代gaodaima码g Dependency: php(x86-64) = 5.3.3-47.el6 for package: php-devel-5.3.3-47.el6.x86_64--> Running transaction check---> Package php.x86_64 0:5.3.3-47.el6 will be installed--> Processing Dependency: php-common(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64--> Processing Dependency: php-cli(x86-64) = 5.3.3-47.el6 for package: php-5.3.3-47.el6.x86_64--> Running transaction check---> Package php-cli.x86_64 0:5.3.3-47.el6 will be installed---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed--> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common  Finished Dependency ResolutionError: php55w-common conflicts with php-common-5.3.3-47.el6.x86_64You could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest</code>

我已尝试过先用Webtatic源安装5.5然后再换回163的源安装phpize发现还是报上面的错误。。。


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:linux – 使用Webtatic的yum源安装完php5.5之后无法再安装phpize和pecl
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址