简体   繁体   English

更新我的PHP 5.3至5.4问题

[英]Update my php 5.3 to 5.4 issue

I am new with servers, and I have tried updating my php using yum, but I get the following error. 我是服务器的新手,我尝试使用yum更新我的php,但出现以下错误。 I have tried almost everything but I can't figure it out.Please help me fix it. 我已经尝试了几乎所有内容,但无法解决。请帮助我修复它。

Juan. 胡安

[root@myserver]# yum install php
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: p3plmirror01.prod.phx3.secureserver.net
 * epel: dl.fedoraproject.org
 * extras: p3plmirror01.prod.phx3.secureserver.net
 * remi: mirrors.mediatemple.net
 * updates: p3plmirror01.prod.phx3.secureserver.net
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package php.x86_64 0:5.4.25-1.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.25-1.el6.remi for package: php-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.4.25-1.el6.remi for package: php-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-1.el6.remi.x86_64
--> Running transaction check
---> Package php.x86_64 0:5.4.25-1.el6.remi will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-1.el6.remi.x86_64
---> Package php-cli.x86_64 0:5.4.25-1.el6.remi will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-cli-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-cli-5.4.25-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-cli-5.4.25-1.el6.remi.x86_64
---> Package php-common.x86_64 0:5.4.25-1.el6.remi will be installed
--> Finished Dependency Resolution
Error: Package: php-5.4.25-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-cli-5.4.25-1.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-5.4.25-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: php-5.4.25-1.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-cli-5.4.25-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-cli-5.4.25-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Looks like this is happening because the version of OpenSSL installed on your box is < 1.0.1, most likely 1.0.0. 似乎正在发生这种情况,因为您的包装盒上安装的OpenSSL版本是<1.0.1,最有可能是1.0.0。

You should be careful with using external repositories if you are not familiar with resolving dependency problems, such as this one. 如果您不熟悉解决依赖关系问题(例如此问题),则应谨慎使用外部存储库。

Locate an appropriate RPM for your operating system that contains the missing files ( OpenSSL 1.0.1+ ) and that will resolve your dependency errors. 为您的操作系统找到一个适当的RPM,其中包含丢失的文件(OpenSSL 1.0.1+),它将解决您的依赖项错误。

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

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