From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 09:07:12 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 4D15716A4F2 for ; Sun, 12 Dec 2004 09:07:12 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE5143D31 for ; Sun, 12 Dec 2004 09:07:11 +0000 (GMT) (envelope-from moliveri@gmail.com) Received: by rproxy.gmail.com with SMTP id q1so132593rnf for ; Sun, 12 Dec 2004 01:07:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RPRZ9CZDX8MvABK6rmxzZ2ZywkwHAQJrfZg4D5NW7KF6/0smNF2i3QByOWcm70vDDIRNCZViDNg3vmfWhotygbMOIA9xJP8NdNyKDSjtOer7XaLNUwBwTkffVeaHBdFpJjSXYXa8dZfZnIHVbxJLBuHqQDekC0lN49k42uuCqgM= Received: by 10.38.150.62 with SMTP id x62mr1886053rnd; Sun, 12 Dec 2004 01:07:10 -0800 (PST) Received: by 10.38.96.35 with HTTP; Sun, 12 Dec 2004 01:07:10 -0800 (PST) Message-ID: <1e58dbf604121201071b9b957c@mail.gmail.com> Date: Sun, 12 Dec 2004 03:07:10 -0600 From: Mike Oliveri To: Paul Schmehl In-Reply-To: <2147483647.1102819834@192.168.2.101> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1e58dbf604121114253bc31694@mail.gmail.com> <2147483647.1102819834@192.168.2.101> cc: freebsd-questions@freebsd.org Subject: Re: SquirrelMail woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mike Oliveri List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 09:07:12 -0000 > > [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. Actually, I do have php4-extensions installed -- most were installed via SquirrelMail and I added php4-imap to the list. Here's a full list of the extensions I have installed: hp4-4.3.9_1 = up-to-date with port php4-ctype-4.3.9_1 = up-to-date with port php4-extensions-1.0 = up-to-date with port php4-gettext-4.3.9_1 = up-to-date with port php4-imap-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-mysql-4.3.9_1 = up-to-date with port php4-openssl-4.3.9_1 = up-to-date with port php4-overload-4.3.9_1 = up-to-date with port php4-pcre-4.3.9_1 = up-to-date with port php4-posix-4.3.9_1 = up-to-date with port php4-session-4.3.9_1 = up-to-date with port php4-tokenizer-4.3.9_1 = up-to-date with port php4-xml-4.3.9_1 = up-to-date with port php4-zlib-4.3.9_1 = up-to-date with port You mention php.info -- I have a php.conf with a directive PHP_EXT_DIR=20020429 Is this what needs to be commented out? Thanks, Mike