php 5.3.3 check

php 5.3.3 check

by Danny Wahl -
Number of replies: 2

After the latest weekly on git (110105) there's the new feature that looks for php 5.3.3, however there seems to be some ambiguity from the tracker ticket (MDL-25186):

While PHP 5.2.8 is the hard (required) min version to run Moodle 2.0, I think it could be interesting to add one new environmental test to be executed on each install / upgrade:

  • Create it as custom and optional check.
  • Make it look for PHP 5.3.3
  • If the test pass, remain hidden.
  • If the test fails, inform about the benefits (memory/speed/security) of using PHP 5.3
  • Make the test available also in 19_STABLE (but apply it only to 2.0 version)

So my question is, is the environment truly recommening 5.3.3, or is it recommending 5.3.x? - The reason being that Ubuntu Server 10.04 LTS Universe is on 5.3.2, so moving to 5.3.3 to be with the recommended settings is a much bigger deal than just doing an aptitude update.

Average of ratings: -
In reply to Danny Wahl

Re: php 5.3.3 check

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Well, 5.3.3 is better than 5.3.2, becuase there are bug fixes. 5.3.x is much better than 5.2.x (better memory management). It is only a recommendation, however.

In reply to Tim Hunt

Re: php 5.3.3 check

by Danny Wahl -

so the check is really more about 5.3.x, it just says 5.3.3 because that's the latest stable release.  Got it.