On Thursday, February 06, 2003, Newsgroup posting address wrote...
> System is Solaris 8 on a sparc machine, Squirrelmail 1.2.10, php
> 4.3.0, wu-imap 2002b, apache 1.3.27. I have not installed a
> database. Apache is in /usr/local/apache, php is in
> ...apache/cgi-bin, squirrel is in ...apache/htdocs/webmail with the
> src, config and other directories directly under webmail. php is
> also located in /usr/local/bin and php.ini in /usr/local/lib (I
> think that's right). I have compiled Apache for shared objects and
> php as a DSO, I believe.
> I have managed to get to the stage where a login screen appears.
> When I provide my id and password, I get the following two messages:
> Warning: session_write_close() [function.session-write-close]:
> Your script possibly relies on a session side-effect which existed
> until PHP 4.2.3. Please be advised that the session extension does
> not consider global variables as a source of data, unless
> register_globals is enabled. You can disable this functionality and
> this warning by setting session.bug_compat_42 or
> session.bug_compat_warn to off, respectively. in
> /usr/local/apache/htdocs/webmail/src/redirect.php on line 170
This is a PHP 4.3.0 thing. Apparently there was a 'bug', or unexpected
behaviour in PHP 4.2.3, and we were using that behaviour. We've not
had time to look into the problem, so the only solution is to follow
the mentioned instructions.
> These messages appear to indicate a problem with certain
> parameters in php.ini, which I have altered without result, so I
> have altered them back.
Did you remember to restart apache after you made the suggested