From owner-freebsd-questions@FreeBSD.ORG Sat Dec 11 22:25:31 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 71E9C16A4CE for ; Sat, 11 Dec 2004 22:25:31 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F15B43D1D for ; Sat, 11 Dec 2004 22:25:31 +0000 (GMT) (envelope-from moliveri@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so535169rne for ; Sat, 11 Dec 2004 14:25:30 -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:mime-version:content-type:content-transfer-encoding; b=jRD26wjKEyrjP0RYJQoITx7o+suTv6b8ujlZkrSObPxdT0mBFxz5Svp53z+9jXJxbaJLVIPYw+IRpxEsLtHv0KhgmUDOPg8wm75PinKMObQpMsaawAc60cZpu24SC6wEe7qc3jqS90tSH0Ahj+Uc6AwP8cpxyeYLkf8FtVYYXgg= Received: by 10.38.126.79 with SMTP id y79mr676892rnc; Sat, 11 Dec 2004 14:25:30 -0800 (PST) Received: by 10.38.96.35 with HTTP; Sat, 11 Dec 2004 14:25:30 -0800 (PST) Message-ID: <1e58dbf604121114253bc31694@mail.gmail.com> Date: Sat, 11 Dec 2004 16:25:30 -0600 From: Mike Oliveri To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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: Sat, 11 Dec 2004 22:25:31 -0000 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