|
|
|
[
Permlink
| « Hide
]
Petr Škoda - 25/Jun/08 06:56 PM
this should be already fixed several days ago, could you please test fresh cvs checkout?
I just did an update (I'm using ECLIPSE CVS), and am still getting the error messages...
Joseph what PHP version are you using?
What exact version is your lib/sessionlib.php? using PHP Version 5.2.0
<?php //$Id: sessionlib.php,v 1.2 2008/06/22 11:56:01 skodak Exp $ hmm, this is caused by bug in php 5.2.0 - http://bugs.php.net/bug.php?id=39449 - fixed in PHP 5.2.1 :-(
There are two options: 1/ try to workaround all those hundreds of nasty bugs in PHP 5.2.0, 5.2.1, 5.2.2 and 5.2.3 2/ or raise the minimum PHP version to at least PHP 5.2.4 for Moodle 2.0 my +1 for option 2) my +1 too (5.2.4 was released 30-August-2007)
Ciao :-) OK, I will upgrade to PHP 5.2.4,
Thanks Joseph OK, just installed PHP 5.2.5 and the problem has disappeared,
Joseph Solutions are:
1/ support old & buggy PHP version - session related code would need to be rewritten again 2/ require PHP 5.2.4 or later Something should be decided soon. Moodle environment checks reports that Moodle requires PHP 5.2.0. But according to this bug and related bugs, it will not run without a minimum of 5.2.4. If this is the case, we really should be specifying and checking for that version.
PHP version requirement changed in HEAD? now waiting for Eloy to confirm needed changes in other branches - is admin/enviroment.xml the only thing that needs to be done or something more on moodle.org?
done, PHP 5.2.4 is now minimal req for Moodle 2.0
please note that we could in theory lower it again, but anybody who suggests it will be responsible for testing and bugfixing in PHP 5.2.0-5.2.3 ;-) Debian stable only includes 5.2.0, so this is bound to be a big issue for those who
- are running Moodle on a hosted system and thus cannot upgrade and - don't have the skills to compile PHP by themselves. http://packages.debian.org/stable/web/php5 Olli, does that mean you are volunteering to do all the workarounds, bugfixing and testing?
Olli, I have done the normal upgrading to my Debian stable (Etch) a couple of times and current version of php is probably 5.2.6
Upgrading has never taken many minutes... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||