Will Drupal 4.7x work in php5.2 ?

minesota - June 13, 2008 - 01:10

Does anyone know how Drupal 4.7x will work with php 5.2 - will it cease to function ( why? ) OR there will be minor problems that can be tweaked ( how ? )

Please guide me or point to some uri with such discussions.

Try to use Drupal 4.7.11

ananto - June 13, 2008 - 02:14

Try to use Drupal 4.7.11

There is a known problem

cog.rusty - June 13, 2008 - 02:51

There is a known problem with Drupal 4.7.4 or older. Upgrading to the latest 4.7.x is easy.

http://drupal.org/node/102114

Some more feedback will be very welcome.

minesota - June 13, 2008 - 03:07

Thanks ananto and cog.rusty.

Actually I have 4.7.5 with previous 4.7.4 themes patched to make it close to 4.7.6 in all proability.
The site I am using this for is pretty impossible for me now to do several upgrades. I am trying out altogether with new 5 series or the latest 6 for new or next sites, only stuck at OG and some other modules.

Apprently the path from 4.7.5 to 4.7.11 has done only bug fixes and security patches - is there something drastically changed that 4.7.5 will fail to work in php5.2 ? That is, if it fails at all.
I tried to install a new XAMPP with php5.2 but somehow the Mysql is not responding so back to php5.

Some more feedback will be very welcome.

@ananto - you have some cool ;) photos on your site, add some more :)

There is nothing else about

cog.rusty - June 13, 2008 - 09:07

There is nothing else about PHP 5.2 in http://drupal.org/requirements, so we can assume that Drupal 4.7.5 or later or Drupal 5.1 or later are OK with PHP 5.2.

Of course this does not say anything about the contributed modules, but if there is a problem, there should be a mention in their project page or in their issues.

Besides the security updates mentioned in 4.7.11 CHANGELOG.txt, there have been also some bug fixes which you can find in http://drupal.org/node/3060/release. Nothing else about PHP 5.2. So, upgrading from 4.7.5 to 4.7.11 should be trivial.

At some point you will need to upgrade to a new major Drupal version, because 4.7.x is already unsupported. Just as PHP 5.2 came around and broke 4.7.4, something new may appear on the hosts and there will be no 4.7.12 to fix it.

How easy it will be to upgrade to 5.x. or 6.x, which one, now or later, it all depends on the specific modules you need.

Thanks again

minesota - June 13, 2008 - 13:16

Yep! Thanks a LOT for the feedbacks cog.rusty. These have been a very HELPFUL assurance and information too.

Actually, I happened to browse drupal download pages where it was written "Drupal works with PHP 4 & 5. If you need support for the newest PHP 5.2, however, you must use Drupal 6.0 (and higher) or Drupal 5.1 (and higher)". I guess I was falsely alarmed. Now as I read the statement again it seems to make some different meaning :) [ I may be wrong :/ ]

Php5.2 or later versions, as far as I know are not supposed to break anything or cause loss of backward compatibilty of drupal versions like 4.7x. I hope I have understood right. I understand that there will be no more drupal support for 4.7 just like there is no more support for php4.

For newer sites I have to move on to 6 or 7x, particularly sites that will have some snw capacity. Problem is that ( apart from missing privacy controls and some profile features) Drupal 4.7x has still the largest number of necessary and compatible modules for a snw. It would have been very easy to make the best snw out of drupal but perhaps people using it more are more cms oriented, though I beleive snw is the new or future body of a cms (joomla, xoops etc have developed extensive snw modules). The only thing that drupal is lacking ( or it is there but needs more prominent expression and usage) is api like facebook api so that users can add gadgets/apps to their profile. This is something which is pretty impossible in 4.7x and may be possible in 7x but that seems at least two years away which is pretty long time.

Hahahaha.... thanks for

ananto - June 16, 2008 - 03:19

@minesota: Hahahaha.... thanks for visiting my website....

 
 

Drupal is a registered trademark of Dries Buytaert.