Is Drupal 6 is compatible with PHP 7?

不问归期 提交于 2019-12-11 01:48:13

问题


I have a website in Drupal 6 version. But now I wanted to change the server and php version to 7.

So just wanted to confirm that is Drupal 6 is compatible with PHP 7?


回答1:


Apparently it is not a good idea : https://www.drupal.org/node/2735435

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.

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).




回答2:


There are plans to make Drupal 6 compatible with PHP 7. See PHP 7 branch of the d6lts repository and the issue on github: PHP 7 branch - Plan for release #8.

See also the announcement Drupal 6 in the year 2020 (and with PHP 7 support!) of mydropwizard.com, official D6 LTS supporter:

Today, I'm happy to announce that we'll be extending our Drupal 6 Long-Term Support until at least February 2020!



来源:https://stackoverflow.com/questions/44403451/is-drupal-6-is-compatible-with-php-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!