Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: slight proofing

Given that eZ Publish (5.x series) where made was created before PHP 7 came out, there are a few things to be aware of and consider when wanting you want to run it on PHP 7.

Tip
titleAlternative: Running eZ Platform & eZ Platform Enterprise with Legacy Bridge

Did you know that you can also consider running eZ Publish legacy side by side with eZ Platform, and that this is supported now together with eZ Publish Enterprise? If you prefer new features and simplified migration paths this can be a good alternative to 5.4 which is kept as stable as possible and does not receive new features anymore.

...

Deprecation warnings

While eZ Platform, including platform parts bundled with eZ Publish Platform 5.x have been , was made for more recent versions of PHP and tested for it early on. eZ Publish legacy, on the other hand, was first created back in 2001 and has a long range of extensions written built for it closely depending on how it was written. And as eZ Publish is considered mature software, backwards compatibility breaks are avoided as much as possible. This means that there are a few deprecation warnings to be expected when running eZ Publish (legacy) on PHP 7 which won't be fixed as they risk breaking extensions. This includes:

  • Class constructor names

 

Community-supported extensions

The following extensions have not yet been QA tested, and are hence not yet professionally supported by eZ Systems, if . If you find issues, the best way to proceed is by proposing fixes (Pull requests or otherwise):

...

PHP7 is a large change to the PHP language, and while it does provide a 2x improvement in performance, we can not stress enough the importance of testing your whole site/application when upgrading. You should essentially regard it as a re-launch.

Remember:

  1. While we We try our best to cover all possible cases, especially in eZ Platform, our newest version. Our However, our QA testing does not cover all the possible use case you might be using eZ Publish for.
  2. Extensions made by the community and shared on http://projects.ez.no/ or other places (github/composer, ...) might or might not have tested on PHP 7 yet.
  3. Your own code base will need to be adapted for PHP 7.

...