简体   繁体   English

将旧的 php 和 mysql 版本的网站上传到具有新 php、Z81C3B080DAD537DE7E10E02E 版本的服务器

[英]upload old php and mysql version website to server which has new php, mysql version

I have a forge account.我有一个伪造帐户。 The server has php7.3, mysql8.0, nginx configured.服务器配置了php7.3、mysql8.0、nginx。 I have a website which require apache server and it was developed in php5.6 and mysql5.5 version.我有一个需要 apache 服务器的网站,它是在 php5.6 和 mysql5.5 版本中开发的。 So my question is can I run this website in my forge server?所以我的问题是我可以在我的伪造服务器上运行这个网站吗?

What you need to figure out is to see if your code contains functions or structures that have been deprecated with PHP7.x.您需要弄清楚的是,您的代码是否包含 PHP7.x 已弃用的函数或结构。

As mentioned by Angel, reading the migration documentation and more specifically the backward incompatible changes and the deprecated features will help you check the compatibility of your code with your new environment.正如 Angel 所提到的,阅读迁移文档,更具体地说,阅读向后不兼容的更改不推荐使用的功能将帮助您检查代码与新环境的兼容性。

You're not migrating from PHP5.6 to PHP7.0, but you're moving from one server with PHP5.6 to a server with PHP7.3, which will result to the exact same thing...您不是从 PHP5.6 迁移到 PHP7.0,而是从一台使用 PHP5.6 的服务器迁移到一台使用 PHP7.3 的服务器,这将导致完全相同的结果......

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

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