Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 02:50:34 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        Mike Oliveri <moliveri@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: SquirrelMail woes
Message-ID:  <2147483647.1102819834@[192.168.2.101]>
In-Reply-To: <1e58dbf604121114253bc31694@mail.gmail.com>
References:  <1e58dbf604121114253bc31694@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Saturday, December 11, 2004 4:25 PM -0600 Mike Oliveri 
<moliveri@gmail.com> wrote:

> 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:
>
This appears to be a case of not reading /usr/ports/UPDATING.  The php port 
was altered not too long ago, and the extensions were moved to a separate 
port.  You need to install both php4 *and* php4-extensions.  Then you'll 
have to reinstall squirrelmail.  Also, make sure you comment out the 
extensions_dir variable in php.info.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu



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