Hi all,

we have some projects still running in drupal 6 with PHP5.3 and are considering moving up our php installation.

According to this page https://www.drupal.org/requirements/php, D6 core should be compatible at most with php 5.4 (not contrib modules, but right now I'm only testing the core).

The thing is that I've created some virtual machines to play with different versions and a D6 core install seems to work without too much trouble up to PHP5.6.

Could that page be outdated? Is D6 able to run on PHP 5.6? What would you test to check it?

Thanks in advance, Simon.

Comments

VM’s picture

the doc page is likely outdated as it was written before PHP5.6 was stable. I wouldn't venture that much testing has been attempted with D6 against PHP 5.6. As far as what should be tested, I'd test every aspect/feature of core.

SimonVlc’s picture

Thanks for your answer. For what we are seeing, Drupal seems functional with PHP5.6 (only needing to disable explicitly mbstring in php.ini).

We are hand-testing it manually as the core don't have tests, but it will be difficult to know without real load on the site. Probably we could move some small site to a docker container and see it working for a while.

Thanks again for your help!

bustawin’s picture

We are planning to do the same here. Did you discover any problem after these 2 months? (Even with non-core modules). Any info would be much appreciated..!

Thanks! :-)

hicham7’s picture

drupal seems functional in php 5.4 , I haven't tried 5.6
there are some issues E-strict warning with views module , though
and cck module can bring some error when managing fields

is drupal 6 + php 5.4 ready for production server ?

tommycox’s picture

Here's a relevant article recently published by Media Current: Getting your Drupal 6 site ready to run on PHP 5.6

"Aut inveniam viam aut faciam" - I shall either find a way or make one.

MakeOnlineShop’s picture

Hello,

Does it mean that maybe my ubercart shop drupal 6 will still work with php 5.4, php 5.5 or php 5.6 ?

Thank you for your help

ghazlewood’s picture

If you're considering an upgrade to PHP 5.5/5.6 or higher the module https://www.drupal.org/project/___drupal_php_strict_suppress may be useful in suppressing superfluous errors

drupalinthailand’s picture

Hello,

Thank you for this module.

Maybe someone here can help me to fix this short code ? My shop ADD TO CART big button does not work anymore with php5.6:

https://www.drupal.org/node/2679094#comment-10913792

Thanks again.

drupalinthailand’s picture

Any help to fix this code on php5.6 ? Thanks.

VM’s picture

the problem should be raised in the issue queue of the module in question to insure it is fixed for everyone.