简体   繁体   English

我可以在升级前在 Linux 服务器上获得上一个 PHP 版本吗?

[英]Can I get the prev PHP version on Linux Server Before upgrade?

Is there any way to know the prev PHP version which was installed on linux server before PHP upgrade?有没有办法知道在 PHP 升级之前安装在 linux 服务器上的上一个 PHP 版本?

The case is: After upgrading PHP to 5.4.30 some functions in scripts are not working.案例是:PHP 升级到 5.4.30 后,脚本中的某些功能不起作用。 I want to downgrade PHP but I forget the prev version.我想降级 PHP,但我忘记了上一个版本。 Can you help in this?你能帮忙吗?

I highly doubt this would happen as it would cause large scale applications to break.我非常怀疑这会发生,因为它会导致大规模应用程序中断。 As far as knowing the previous PHP version installed there may be a PHP log file somewhere or left over folders from your previous PHP installation which may tell you what version you had.就知道安装的先前 PHP 版本而言,某处可能有一个 PHP 日志文件或从先前的 PHP 安装中遗留下来的文件夹,这可能会告诉您您拥有的版本。

Are you sure it's not just your scripts?你确定这不仅仅是你的脚本? Try using the error_reporting() function to find out what exactly is broken and then reply accordingly with that information, i'll try to assist.尝试使用 error_reporting() 函数找出到底是什么损坏了,然后用该信息相应地回复,我会尽力提供帮助。

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

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