donglijuan8227 2014-06-05 16:15
浏览 88

将PHP从5.5.8下调至5.3.3,以6.5为单位

I am trying to downgrade PHP from 5.5.8 to 5.3.x. I have tried this but it dint work for me.

yum downgrade php

The error I have got is

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
* Webmin: webmin.mirror.somersettechsolutions.co.uk
* base: centos.excellmedia.net
* epel: epel.mirror.net.in
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
No Match for available package: php-5.3.3-26.el6.x86_64
Nothing to do

I have also tried this but even this dint work for me.

sudo yum downgrade php php-common php-cli

The error log I have got is

    Loaded plugins: fastestmirror, refresh-packagekit, security
    Setting up Downgrade Process
    Loading mirror speeds from cached hostfile
     * Webmin: webmin.mirror.somersettechsolutions.co.uk
     * base: centos.excellmedia.net
     * epel: epel.mirror.net.in
     * extras: centos.excellmedia.net
     * updates: centos.excellmedia.net
    No Match for available package: php-5.3.3-26.el6.x86_64
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-cli.x86_64 0:5.3.3-27.el6_5 will be a downgrade
    ---> Package php-cli.x86_64 0:5.5.8-1.el6.remi will be erased
    ---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be a downgrade
    ---> Package php-common.x86_64 0:5.5.8-1.el6.remi will be erased
    ---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be obsoleted
    --> Finished Dependency Resolution
    Error: Package: php-pecl-memcached-2.1.0-7.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-process-5.5.8-1.el6.remi.x86_64 (@remi-php55)
               Requires: php-common(x86-64) = 5.5.8-1.el6.remi
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php-common(x86-64) = 5.5.8-1.el6.remi
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php-common(x86-64) = 5.3.3-27.el6_5
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php-common(x86-64) = 5.3.3-26.el6
    Error: Package: php-pecl-igbinary-1.1.2-0.5.git3b8ab7e.el6.remi.1.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-memcached-2.1.0-7.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-mongo-1.4.5-1.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-mongo-1.4.5-1.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-pecl-igbinary-1.1.2-0.5.git3b8ab7e.el6.remi.1.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-gd-5.5.8-1.el6.remi.x86_64 (@remi-php55)
               Requires: php-common(x86-64) = 5.5.8-1.el6.remi
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php-common(x86-64) = 5.5.8-1.el6.remi
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php-common(x86-64) = 5.3.3-27.el6_5
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php-common(x86-64) = 5.3.3-26.el6
    Error: Package: php-pecl-sqlite-2.0.0-0.4.svn332053.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-memcache-3.0.8-1.el6.remi.1.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-apcu-4.0.3-1.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-memcache-3.0.8-1.el6.remi.1.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-mbstring-5.5.8-1.el6.remi.x86_64 (@remi-php55)
               Requires: php-common(x86-64) = 5.5.8-1.el6.remi
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php-common(x86-64) = 5.5.8-1.el6.remi
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php-common(x86-64) = 5.3.3-27.el6_5
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php-common(x86-64) = 5.3.3-26.el6
    Error: Package: php-mcrypt-5.5.8-1.el6.remi.x86_64 (@remi-php55)
               Requires: php-common(x86-64) = 5.5.8-1.el6.remi
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php-common(x86-64) = 5.5.8-1.el6.remi
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php-common(x86-64) = 5.3.3-27.el6_5
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php-common(x86-64) = 5.3.3-26.el6
    Error: Package: php-pecl-jsonc-1.3.3-1.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(zend-abi) = 20121212-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(zend-abi) = 20121212-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(zend-abi) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(zend-abi) = 20090626
    Error: Package: php-pecl-jsonc-1.3.3-1.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-xml-5.5.8-1.el6.remi.x86_64 (@remi-php55)
               Requires: php-common(x86-64) = 5.5.8-1.el6.remi
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php-common(x86-64) = 5.5.8-1.el6.remi
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php-common(x86-64) = 5.3.3-27.el6_5
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php-common(x86-64) = 5.3.3-26.el6
    Error: Package: php-pecl-apcu-4.0.3-1.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-pecl-sqlite-2.0.0-0.4.svn332053.el6.remi.5.5.x86_64 (@remi-php55)
               Requires: php(api) = 20121113-64
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php(api) = 20121113-64
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php(api) = 20090626
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php(api) = 20090626
    Error: Package: php-pdo-5.5.8-1.el6.remi.x86_64 (@remi-php55)
               Requires: php-common(x86-64) = 5.5.8-1.el6.remi
               Removing: php-common-5.5.8-1.el6.remi.x86_64 (@remi-php55)
                   php-common(x86-64) = 5.5.8-1.el6.remi
               Downgraded By: php-common-5.3.3-27.el6_5.x86_64 (updates)
                   php-common(x86-64) = 5.3.3-27.el6_5
               Available: php-common-5.3.3-26.el6.x86_64 (base)
                   php-common(x86-64) = 5.3.3-26.el6
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    [root@centos1 /]# php -v
    PHP 5.5.8 (cli) (built: Jan  9 2014 08:14:44)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

Please help me out.

  • 写回答

1条回答 默认 最新

  • doukundong9652 2014-06-22 04:54
    关注

    Thats not the command.

    You installed its from different Repo.

    So use that repo to downgrade php.

    example.

    yum --enablerepo=remi,remi-php55 downgrade nginx php-fpm php-common
    
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog