Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2004 16:25:30 -0600
From:      Mike Oliveri <moliveri@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   SquirrelMail woes
Message-ID:  <1e58dbf604121114253bc31694@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I've been trying to upgrade SquirrelMail and PHP from the ports (I'm
on FreeBSD 4.9) and keep running into the following error in my Apache
error log:

[Sat Dec 11 16:14:58 2004] [error] PHP Fatal error:  Call to undefined
function:  session_id() in
/usr/local/www/data/webmail/functions/global.php on line 293

The SquirrelMail wiki says to rebuild PHP with --enable-session, and
also has the suggestion session.file_handler set to "files" (I assume
it means session-save_handler as that's all I found). If I run
pkg_version -v, here's what it has to say about PHP, so I assume
php-session is the equivalent of compiling with --enable-session:

php4-4.3.9_1                        =   up-to-date with port
php4-gettext-4.3.9_1                =   up-to-date with port
php4-mbstring-4.3.9_1               =   up-to-date with port
php4-mhash-4.3.9_1                  =   up-to-date with port
php4-openssl-4.3.9_1                =   up-to-date with port
php4-pcre-4.3.9_1                   =   up-to-date with port
php4-session-4.3.9_1                =   up-to-date with port
php4-xml-4.3.9_1                    =   up-to-date with port

Everything worked fine before the upgrade. Everything appears okay
with Apache (1.33 also just upgraded from ports) and PHP in general (a
phpinfo() file works fine). Any help or insight would be greatly
appreciated!

Take care,
Mike
moliveri@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e58dbf604121114253bc31694>