为什么PHPinfo具有标头版本和库版本?有什么区别? [英] Why does PHPinfo have a header version and library version? What are the differences?

查看:99
本文介绍了为什么PHPinfo具有标头版本和库版本?有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个不一致的地方,我无法正确对齐它们的版本,所以我只想删除该库的版本.我可以这样做吗?该库来自我的发行版时,PHP的标头版本是吗?我可以升级PHP的库版本吗?如果是这样,怎么办?我正在使用PHP 5.4.4

I have an inconsistency, and I could not align their versions properly, so I just wanted to remove the library version. Can I do this? Is the header version for PHP while the library is from my distro? Can I upgrade PHP's library version? If so, how? I am using PHP 5.4.4

例如,

推荐答案

在openssl的更新版本中通常可以看到这一点.发生的是库的较新版本存储在不同的文件夹中.位于/usr/bin/openssl的原始文件夹将需要一个符号链接到新文件夹/usr/local/bin/openssl.那将使它们成为相同版本,或仅显示OpenSSL版本_ (无论如何)

This is commonly seen on updated versions of openssl. What happens is the newer versions for the libraries are stored in different folder. The original folder located at /usr/bin/openssl would need a symbolic link to the new folder /usr/local/bin/openssl. That would get both to be the same version or just show OpenSSL Version _(Whatever)

通常不需要担心,因为它仍然可以按预期的方式工作.在共享服务器上经常看到这种情况.

Normally there is no concern for this, since it still works the way it is intended. This is seen a lot on shared servers.

The information in this post is generic and can be different if you are running
CentOS, RedHat, Ubuntu, or another Linux/BSD version. Check documentation or man
pages for the best information

如果您确实更新了OpenSSL,则* nix的某些版本要求您重建PHP和Apache以便对其进行更新

If you do update your OpenSSL, some versions of *nix Require for you to rebuild PHP and Apache for it to update

这篇关于为什么PHPinfo具有标头版本和库版本?有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆