[Webcom] PHP 5 and Drupal 4.7.x

Wolf Bergenheim wolf+grass at bergenheim.net
Thu Oct 25 16:08:31 EDT 2007


Hi,

When php was upgraded to 5.2 on the osgeo2 machine (test.osgeo.org) it
broke the session management for drupal 4.7 (which doesn't officially
support php 5). I managed to fix it by adding the following line to the
end of sites/osgeo.org/settings.php

register_shutdown_function('session_write_close');

Most probably the other sites need this as well, but I don't know if
they are in use or not... that is why I didn't touch them.

--Wolf

-- 

<:3 )---- Wolf Bergenheim ----( 8:>



More information about the Webcom mailing list