SquirrelMail woes

Mike Oliveri moliveri at gmail.com
Sat Dec 11 14:25:31 PST 2004


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 at gmail.com


More information about the freebsd-questions mailing list