• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 11.5 php downgrade 5.3

ogreniyoruzb

New Pleskian
Hello,

Plesk 11.5 downgrade php error.

Help me please;

[root@server ~]# yum downgrade php
Loaded plugins: fastestmirror
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: ftp.dgn.net.tr
* epel: mirror.vit.com.tr
* extras: ftp.dgn.net.tr
* updates: ftp.dgn.net.tr
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-23.el6_4 will be a downgrade
--> Processing Dependency: php-common(x86-64) = 5.3.3-23.el6_4 for package: php-5.3.3-23.el6_4.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.3-23.el6_4 for package: php-5.3.3-23.el6_4.x86_64
---> Package php.x86_64 0:5.4.17-23.el6.art will be erased
--> Finished Dependency Resolution
Error: Package: php-5.3.3-23.el6_4.x86_64 (updates)
Requires: php-cli(x86-64) = 5.3.3-23.el6_4
Installed: php-cli-5.4.17-23.el6.art.x86_64 (@atomic)
php-cli(x86-64) = 5.4.17-23.el6.art
Available: php-cli-5.3.3-22.el6.x86_64 (base)
php-cli(x86-64) = 5.3.3-22.el6
Available: php-cli-5.3.3-23.el6_4.x86_64 (updates)
php-cli(x86-64) = 5.3.3-23.el6_4
Error: Package: php-5.3.3-23.el6_4.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-23.el6_4
Installed: php-common-5.4.17-23.el6.art.x86_64 (@atomic)
php-common(x86-64) = 5.4.17-23.el6.art
Available: php-common-5.3.3-22.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.x86_64 (updates)
php-common(x86-64) = 5.3.3-23.el6_4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@server ~]#
 
# yum -x php5-ioncube-loader downgrade php\*

You may also want to look at yum-plugin-replace if that doesn't help you.
 
Hello,

[root@server ~]# yum -x php5-ioncube-loader downgrade php\*
.............
.......
...
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-cli.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-cli.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-common.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-common.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-fpm.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-fpm.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-gd.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-gd.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-imap.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-imap.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-mbstring.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-mbstring.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-mcrypt.x86_64 0:5.1.6-5.el5 will be a downgrade
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt-5.1.6-5.el5.x86_64
---> Package php-mcrypt.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-mysql.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-mysql.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-pdo.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-pdo.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-pecl-memcache.x86_64 0:3.0.6-1.el6.art will be a downgrade
---> Package php-pecl-memcache.x86_64 0:3.0.8-1.el6.art will be erased
---> Package php-soap.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-soap.x86_64 0:5.4.17-23.el6.art will be erased
---> Package php-xml.x86_64 0:5.3.3-23.el6_4 will be a downgrade
---> Package php-xml.x86_64 0:5.4.17-23.el6.art will be erased
--> Finished Dependency Resolution
Error: Package: psa-phpfpm-configurator-1.0.0-cos6.build115130618.12.x86_64 (@PSA_11_5_30-dist)
Requires: php-fpm >= 5.3.9
Removing: php-fpm-5.4.17-23.el6.art.x86_64 (@atomic)
php-fpm = 5.4.17-23.el6.art
Downgraded By: php-fpm-5.3.3-23.el6_4.x86_64 (updates)
php-fpm = 5.3.3-23.el6_4
Available: php-fpm-5.3.3-22.el6.x86_64 (base)
php-fpm = 5.3.3-22.el6
Error: Package: php-mcrypt-5.1.6-5.el5.x86_64 (epel)
Requires: php-api = 20041225
Removing: php-common-5.4.17-23.el6.art.x86_64 (@atomic)
php-api = 20100412-x86-64
Downgraded By: php-common-5.3.3-23.el6_4.x86_64 (updates)
php-api = 20090626
Available: php-common-5.3.3-22.el6.x86_64 (base)
php-api = 20090626
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

can you please help me.
 
Hello,

[root@server ~]# yum -x php5-ioncube-loader downgrade php\*
...
Error: Package: psa-phpfpm-configurator-1.0.0-cos6.build115130618.12.x86_64 (@PSA_11_5_30-dist)
Requires: php-fpm >= 5.3.9
Removing: php-fpm-5.4.17-23.el6.art.x86_64 (@atomic)
php-fpm = 5.4.17-23.el6.art
Downgraded By: php-fpm-5.3.3-23.el6_4.x86_64 (updates)
php-fpm = 5.3.3-23.el6_4
Available: php-fpm-5.3.3-22.el6.x86_64 (base)
php-fpm = 5.3.3-22.el6
Error: Package: php-mcrypt-5.1.6-5.el5.x86_64 (epel)
Requires: php-api = 20041225
Removing: php-common-5.4.17-23.el6.art.x86_64 (@atomic)
php-api = 20100412-x86-64
...

Since there are no suitable versions of php-mcrypt and php-fpm packages in your enabled repositories, the easiest way is to first remove these packages and then downgrade php:

# yum remove psa-phpfpm-configurator php-fpm php-mcrypt

Of course, this means that you loose mcrypt PHP extension and php-fpm support in Panel.

Please run following command after you're done with downgrade (to notify Panel about changes):

# plesk sbin packagemng -sdf
 
# yum -x php5-ioncube-loader downgrade php\*

Please run following command after you're done with downgrade (to notify Panel about changes):

/usr/local/psa/admin/sbin/packagemng -sdf

Thank you this was very helpfull.

PHP 5.4.17 did not play nice with roundcube mail - session.save_path and date.timezone
 
Back
Top