简体   繁体   English

在CentOS 5.10上将PHP 5.3升级到5.4时出错

[英]Error upgrading PHP 5.3 to 5.4 on CentOS 5.10

I'm following the KB Parallels upgrade instructions to upgrade PHP 5.3 to 5.4 on a CentOS5.10 machine 我正在按照KB Parallels升级说明在CentOS5.10机器上将PHP 5.3升级到5.4。

http://kb.parallels.com/en/115833 . http://kb.parallels.com/en/115833

Step one advises to open the Autoupdater and check that PHP5 is selected. 第一步建议打开自动更新程序,并检查是否已选择PHP5。 In my case, PHP5.3 is selected. 就我而言,选择了PHP5.3。 I un-check PHP5.3 and check PHP5 then update changes. 我取消选中PHP5.3,然后选中PHP5,然后更新更改。 At this point, Plesk errors with the following: 此时,Plesk将发生以下错误:

Can't find solution for 'obsolete_mode_solution for php53-cli' of dummy_masterpackage_for_dependency-1.2.3.

I searched around and found a forum thread where the following two commands are recommended: 我四处搜索,发现了一个论坛主题,建议使用以下两个命令:

rpm -e php53-cli-5.3.3-5.el5 --nodeps
rpm -e php53-5.3.3-5.el5 --nodeps

These packages are not found and the above command returns the following error: 找不到这些软件包,并且上面的命令返回以下错误:

error: package php53-cli-5.3.3-5.el5 is not installed
error: package php53-5.3.3-5.el5 is not installed

All advice greatly appreciated. 所有建议,不胜感激。

Correct solution found on the lower section of the following page 在下页下部找到正确的解决方案

http://kb.parallels.com/en/115833 http://kb.parallels.com/en/115833

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM