From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 08:50:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFAF016A4E4 for ; Sun, 12 Dec 2004 08:50:35 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D7F43D41 for ; Sun, 12 Dec 2004 08:50:35 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.101] (utdvpn084052.utdallas.edu [129.110.84.52]) by smtp1.utdallas.edu (Postfix) with ESMTP id C4934388F56; Sun, 12 Dec 2004 02:50:34 -0600 (CST) Date: Sun, 12 Dec 2004 02:50:34 -0600 From: Paul Schmehl To: Mike Oliveri , freebsd-questions@freebsd.org Message-ID: <2147483647.1102819834@[192.168.2.101]> In-Reply-To: <1e58dbf604121114253bc31694@mail.gmail.com> References: <1e58dbf604121114253bc31694@mail.gmail.com> X-Mailer: Mulberry/3.0.3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: SquirrelMail woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 08:50:35 -0000 --On Saturday, December 11, 2004 4:25 PM -0600 Mike Oliveri 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