[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php4 sessions

Quoting from README.Debian in /usr/doc/php4:

On big-endian architectures (including: hppa, m68k, mips, powerpc,
sparc, s390) the unserializer is broken.  What this means is that any
variables that you serialize can't be unserialized, which is obviously a
bit of a pain.  We would have liked to have had this fixed for the Woody
release, but the release schedule was working against us on this one,
and there's not much we can do about it.  If we can get an update
approved for a 3.0rX point release, we'll try, but no promises.  What
this means, is that the unserialize() function won't work properly, and
unfortunately no sessions will work properly on these architectures. To

Sessions do NOT work on hppa, m68k, mips, powerpc, sparc, s390

Sorry about that. :(

But it looks like people have gotten sessions to work on other
big-endian architectures [1] by using shared-memory based session
handling (i.e. setting 'session.save_handler = mm' in php.ini), and
another person had luck with setting "magic_quotes_gpc = Off" in
php.ini. The latter even mentions HP-UX vaguely. 

I'm going to try out either/both later today, but I wanted to throw that
out in case others would benefit, and also ask what others have done to
get around the problem.

Hans :)

"Everybody is talking about the weather but nobody does anything about it."
        -- Mark Twain

To UNSUBSCRIBE, email to debian-hppa-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: