linux - 使用Webtatic的yum源安裝完php5.5之後無法再安裝phpize和pecl

來源:互聯網
上載者:User
我使用http://www.blogjava.net/nkjav...這裡的方法安裝的php5.5,但是後來想安裝phpize的時候出現如下錯誤,如何解決?這問題困擾了我很久,一直不知道該怎麼弄,現在預設的yum源都是5.3,但是我項目是yii2.0架構開發的,必須用5.4以上的版本,我試過國內163的yum源也是php5.3。謝謝各位大神指導!

[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 < 5.5--> 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

我已嘗試過先用Webtatic源安裝5.5然後再換回163的源安裝phpize發現還是報上面的錯誤。。。

回複內容:

我使用http://www.blogjava.net/nkjav...這裡的方法安裝的php5.5,但是後來想安裝phpize的時候出現如下錯誤,如何解決?這問題困擾了我很久,一直不知道該怎麼弄,現在預設的yum源都是5.3,但是我項目是yii2.0架構開發的,必須用5.4以上的版本,我試過國內163的yum源也是php5.3。謝謝各位大神指導!

[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 < 5.5--> 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

我已嘗試過先用Webtatic源安裝5.5然後再換回163的源安裝phpize發現還是報上面的錯誤。。。

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.