Eu tenho um servidor ligando o Plesk 10.4.4 e quero atualizá-lo para o 11.0.9.
Quando uso a ferramenta de atualização on-line, tenho este aviso:
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 '/^\sskip-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
Eu executei o código em ssh, mas nada muda.
Já pesquisei todos os nomes de pacotes com "php" e tenho esta lista:
# 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
Após a verificação no arquivo do Plesk: panel_preupgrade_checker.php
Acho que o aviso se deve a estas linhas:
(from : panel_preupgrade_checker.php)
foreach ($packages as $package) {
$name = $package['name'];
$hasPhp5 |= ($name == 'php' || strpos($name, 'php-') === 0);
$hasPhp53 |= (strpos($name, 'php53') === 0);
}
Agora, acho que o problema é apenas devido aos nomes desses pacotes:
php-common.i386 5.3.13-5.el5.art installed
php-pear.noarch 1:1.4.9-8.el5 installed
Você pode me ajudar a resolver essa situação?
Este é o meu repolista:
PPB_10_4_4-dist Parallels product PPB_10_4_4 dist 2
PPB_10_4_4-thirdparty Parallels product PPB_10_4_4 thirdparty 0
PSA_10_4_4-thirdparty Parallels product PSA_10_4_4 thirdparty 2
SITEBUILDER_10_4_4-dist Parallels product SITEBUILDER_10_4_4 dist 3
base CentOS-5 - Base 2722+3
epel Extra Packages for Enterprise Linux 5 - i386 5800
extras CentOS-5 - Extras 282
plesk Plesk Server Administrator 141+1
updates CentOS-5 - Updates 797+4
repolist: 9749
EDITAR
Eu fiz a atualização, porque, eu acho que o aviso não é muito ruim (o aviso veio de um nome pakage não coincidente)
E finalmente é um trabalho!