This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » 4.5 and PHP 5.5.9

4.5 and PHP 5.5.9

4.5 and PHP 5.5.9

Thursday 02 October 2014 10:55:32 am - 8 replies

Is there any reason why eZ Publish 4.5 does not run on this PHP-version?



Thursday 02 October 2014 2:13:31 pm

Hello Atle,

Chicken and the egg, I'd imagine.

php 5.4 support did not come till 2012.01 community project release.

I don't know offhand when php 5.5 support came in, but after that release some time later.

You could patch your release, I released a number of php 5.4 patches you could learn from to build a patch for ezp 4.5,

In any case you should not patch your release instead you should take the time and upgrade to the latest community release happy.gif Emoticon (There are security reasons also why to do upgrades)

I hope this helps!



Friday 03 October 2014 7:54:55 am

Hi again Heath, thank you for your answer happy.gif Emoticon

But should'nt PHP be backwards compatible?



Friday 03 October 2014 10:08:04 am


I found that some PHP-modules in the 5.5.9-installation was missing ref the system requirements. I installed almost all of them, but could'nt get the following in anyhow I tried:

  • pcntl
  • pdo-mysqli
  • ssl (openssl is installed)

Any idea on how to get them into PHP, and more important; are they really required? All the modules specified by the requirements for 4.5 are now installed (except the ones mentioned above), but the site does not run properly.

One can see the live new site at - and the old (working) live on Quite a difference. In the admin-interface there are also al lot of missing stuff, eg the tree structure in the left sidebar.

I will upgrade step-by-step as you suggested Heath, but I'm afraid it is a waste of time if this regarding the modules mentioned really are needed, so I have to get that sorted out...

Regards, Atle

Friday 03 October 2014 4:55:00 pm


This is not really a PHP problem.

This is an eZ Publish problem.

eZ Publish version you are using is not compatible with PHP you are using.

Old versions of eZ Publish don't always support new versions of PHP :P

Do the upgrade and the site will function once again. It is really that simple. Again because this is an eZ Publish problem not a PHP problem.

As for the missing php modules what version and distribution of GNU/Linux are you using? Maybe we can help you find the packages you need. Oh and are you installing php with packages or by source code compile? Maybe someone else can speak up but I think those modules may not always be required.

I hope this helps


Saturday 04 October 2014 11:03:21 am

In the progress of doing step-by-step upgrade now happy.gif Emoticon

But on 2011.8->2011.9 i get the following error running php bin/php/ezcache.php --clear-all --purge --allow-root-user from the root html directory:

Clearing the cache

With great power comes great responsibility.You have 10 seconds to break the script (press Ctrl-C).

Purging All cache:Cache for innholdsvisning, Cache for INI-filer, global, Cache for INI-filer, Cache for kodesider, Cache for klasseidentifikatorer, Cache for sorteringsnøkler, Cache for URL alias, Cache for tegnomforming, Cache for bildealias

PHP Fatal error:  Call to a member function attribute() on a non-object in /srv/www/ on line 601

Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below.

Seems to be an PHP problem...?

Anyway, i will continue upgrading towards nirvana...


Modified on Saturday 04 October 2014 11:04:13 am by Atle Enersen

Saturday 04 October 2014 1:08:57 pm

Hello Atle,

Remember you can in most situations clear caches by hand by running rm -vrf var/cache/* var/(site.ini-override-var-dir-ini-setting)/cache/*;

I hear kracker prefers to clear his caches this way happy.gif Emoticon

Anyway good luck with the upgrade.

I hope this helps.


Modified on Sunday 05 October 2014 4:18:25 am by // Heath

Saturday 04 October 2014 1:35:27 pm

Ohh it helps, I much prefer it that way. Just was'nt sure about what to rm.

Btw; no i'm at 2012.3, and at 2011.12 the site was back as it should - so the tip of just upgrading and do not mind the site seems work so far happy.gif Emoticon

Regards, Atle

Saturday 04 October 2014 3:24:31 pm

Hello Atle,

Great to hear!
Also worth mentioning your basically getting thousands of bug fixes and new features, so well worth your time.
Be certain to test the user and admin siteaccesses thoroughly in search of problems or conflicts.

I just upgraded a site to 2014.07 and had admin problems due to a custom extension conflict.

Your results may vary.

Modified on Sunday 05 October 2014 4:20:15 am by // Heath


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from