PHP versions warning on Plesk 11.0.9 upgrade on CentOS server

Posted by Pixman on Server Fault See other posts from Server Fault or by Pixman
Published on 2012-09-05T09:45:40Z Indexed on 2012/09/05 15:40 UTC
Read the original article Hit count: 254

Filed under:
|
|

I have a server turning on Plesk 10.4.4 and I want to upgrade it to 11.0.9.

When I use the online upgrade tool, I have this warning:


Parallels Panel pre-upgrade check... WARNING: You have a mixed set of 'php' and 'php53' packages installed. Installation or upgrade may fail or produce unexpected results. To resolve this issue run "sed -i.bak -e '/^\s*skip-bdb\s*$/d' /etc/my.cnf ; yum update 'php*' 'mysql*'". PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0


I have run the code in ssh, but nothing changes.

I have already searched all package names with "php", and I have this list:

# yum list installed | grep php
php-common.i386                      5.3.13-5.el5.art                  installed
php-pear.noarch                      1:1.4.9-8.el5                     installed
php5-ioncube-loader.i386             4.0.7-11062118                    installed
php53.i386                           5.3.3-13.el5_8                    installed
php53-cli.i386                       5.3.3-13.el5_8                    installed
php53-devel.i386                     5.3.3-13.el5_8                    installed
php53-gd.i386                        5.3.3-13.el5_8                    installed
php53-imap.i386                      5.3.3-13.el5_8                    installed
php53-mbstring.i386                  5.3.3-13.el5_8                    installed
php53-mcrypt.i386                    5.3.3-1.el5                       installed
php53-mysql.i386                     5.3.3-13.el5_8                    installed
php53-pdo.i386                       5.3.3-13.el5_8                    installed
php53-sqlite2.i386                   5.3.2-11041315                    installed
php53-xml.i386                       5.3.3-13.el5_8                    installed
psa-appvault-phpads.noarch           2.0.8-8203520080409011611         installed
psa-appvault-phpbb.noarch            3.0.0-8200820080409011626         installed
psa-appvault-phpbook.noarch          1.50-8203220080409011638          installed
psa-appvault-phpbugtracker.noarch    1.19-8203820080416050605          installed
psa-appvault-phpdig.noarch           1.85-8203120080409011645          installed
psa-appvault-phpmoney.noarch         1.3-8204320080409011649           installed
psa-appvault-phpmyfamily.noarch      1.4.1-8203420080409011655         installed
psa-appvault-phpmyvisites.noarch     2.3-8202820080409011701           installed
psa-appvault-phprojekt.noarch        5.2-8200820080409011713           installed
psa-appvault-phpsurveyor.noarch      0.98-8204320080409011723          installed
psa-appvault-phpwebsite.noarch       0.10.2-8203420080409011738        installed
psa-appvault-phpwiki.noarch          1.3.11-8204320080409011808        installed
psa-php53-configurator.i386          1.6.1-cos5.build1013111101.14     installed

After verification in the Plesk file: panel_preupgrade_checker.php

I think the warning is due to these lines:

(from : panel_preupgrade_checker.php)
foreach ($packages as $package) {
       $name = $package['name'];
       $hasPhp5  |= ($name == 'php' || strpos($name, 'php-') === 0);
       $hasPhp53 |= (strpos($name, 'php53') === 0);
    }

Now, I think the problem is just due to the names of theses packages:

php-common.i386                      5.3.13-5.el5.art                  installed
php-pear.noarch                      1:1.4.9-8.el5                     installed

Can you help me to resolve this situation?

© Server Fault or respective owner

Related posts about centos

Related posts about plesk