Yum更新破坏了AWS Linux上的PHP。卷毛无法加载

时间:2018-12-21 15:07:14

标签: php curl amazon-ec2

我通过YUM运行了所有建议的更新(大约2个月没有这样做)

现在,PHP无法正常工作。它显示:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/5.6/modules/curl.so' - /usr/local/firefox/libnss3.so: version `NSS_3.34' not found (required by /usr/lib64/libcurl.so.4) in Unknown on line 0

即使使用简单的PHP命令,例如php -ver

,也会发生这种情况

YUM似乎也坏了:”

$ sudo yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/local/firefox/libnss3.so: version `NSS_3.34' not found (required by /usr/lib64/libcurl.so.4)

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.15 (default, Nov 28 2018, 22:38:08)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

如何解决?

0 个答案:

没有答案