问题描述
我有一个Drupal 6版本的网站.但是现在我想将服务器和PHP版本更改为7.
I have a website in Drupal 6 version. But now I wanted to change the server and php version to 7.
所以只想确认Drupal 6是否与PHP 7兼容?
So just wanted to confirm that is Drupal 6 is compatible with PHP 7?
推荐答案
显然,这不是一个好主意: https://www.drupal.org/node/2735435
Apparently it is not a good idea : https://www.drupal.org/node/2735435
Drupal 6支持在php 7发布之前已被删除,如果您添加的内容可能完全不兼容,那么使用php 7的成本将不高.
Drupal 6 support was dropped before php 7 release and if you add to that the contribued modules wich might be totally incompatible, the cost of going to php 7 will not be light.
从drupal 6升级到7可能会更容易(这两个版本之间变化不大),或者如果您有更多的时间使您的网站适合drupal 8(drupal 7和8是兼容的php7,drupal 7可能具有一些不兼容的贡献模块.
It might be easier to go from drupal 6 to 7 (not much changed btw these 2 versions) or if you have more time to remake your site go for drupal 8 (drupal 7 and 8 are compatible php7, drupal 7 might have some contribued modules that are not compatibles).
这篇关于Drupal 6与PHP 7兼容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!