hiltrus.blogg.se

Drupal 7 php support
Drupal 7 php support












drupal 7 php support
  1. #Drupal 7 php support update
  2. #Drupal 7 php support upgrade

I believe Drupal 7 can't be run with php 7.2 as it has major changes from previous versions 7.0 and 7.1. In most cases updating modules to latest releases is enough but in some cases compatibility patches can be found in the respective issue queues. I personally have run Drupal sites that are currently live on php 7.0 and 7.1 latest versions and have never had a problem with server updating to newer php minor version at a later date.Įven though php 7 is not the latest (7.1 and 7.2 are out) you still have to be cautious running Drupal 7 with php 7.0 or 7.1 and extra care should be taken (from experience) at the contributed modules level as there is still lots of them not running properly on php 7. Suggests that Drupal 7 can be successfully used on PHP 7, both before However anecdotal evidence from a variety of users See the Drupal 7.50 release notes and the PHP 7 discussionįor more details. I think what you see is exactly what the Drupal 7 php requirements warns about:īecause PHP 7 is the newest release, extra care should still be taken

#Drupal 7 php support update

In some cases I have had to apply patches that were already available in issue queues, but generally I've only had to update modules to the latest versions. In my personal experience, with at least a dozen Drupal 7 sites of varying sizes, I have had no issues with Drupal 7 on PHP 7.0 or 7.1 but I have had a few issues with 7.2 when it was new (which may have been resolved by now). Once you're happy that the site is functioning as it should, update your PHP version on your production server. Your best bet is to test your site and its particular modules on a development PHP 7 environment and then resolve any issues you find. The issue you linked is for a contributed module, not Drupal core. In addition, although most of the widely used modules are, not all contributed modules are compatible yet. There is a meta issue on that you can follow at

drupal 7 php support

Disabling it solved the problem.įor the most part, Drupal 7 core is compatible with PHP 7, however in some cases you might run into issues, depending on your specific website's configuration. UPDATE: It turns out that vars.module is from the contrib module Variable API and not part of core, and was only enabled to support the Textile module. Maybe the bug only manifests in early versions of PHP 7. The point is I am running the latest version (Drupal 7.59) on Ubuntu 16.04 whose PHP version is PHP Version 7.0.30-0ubuntu0.16.04.1 and it runs without that error.Īre there versions of PHP 7 running on Debian 9 which work with latest unpatched Drupal 7.59, perhaps later ones like PHP 7.1 or PHP 7.2?

drupal 7 php support

The version of PHP currently on Debian 9 is PHP Version 7.0.27-0+deb9u1

#Drupal 7 php support upgrade

There is a Drupal issue on it Upgrade to PHP7: Cannot use "self" when no class scope is active, but it doesn't seem to be fully resolved and I am not sure which PHP7 version it works on. I just transferred a Drupal 7 installation to Debian 9 and when I try to connect to the site I get the error PHP Fatal error: Cannot use "self" when no class scope is active in vars.module on line 39.














Drupal 7 php support