From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 07:36:13 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7DC2016A41F for ; Wed, 5 Oct 2005 07:36:13 +0000 (GMT) (envelope-from lists@servingpeace.com) Received: from smtp.servingpeace.com (servingpeace.com [69.55.225.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DECF743D67 for ; Wed, 5 Oct 2005 07:36:08 +0000 (GMT) (envelope-from lists@servingpeace.com) Received: from [10.0.0.30] (adsl-68-125-128-211.dsl.pltn13.pacbell.net [68.125.128.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.servingpeace.com (Postfix) with ESMTP id 79DB2BA224; Wed, 5 Oct 2005 00:36:08 -0700 (PDT) Message-ID: <43438264.1040309@servingpeace.com> Date: Wed, 05 Oct 2005 00:36:04 -0700 From: Sam Nilsson User-Agent: Thunderbird 1.4 (Macintosh/20050908) MIME-Version: 1.0 To: Garrett Cooper References: <80A9FCAE-B445-4E9D-B42F-7F5D5644B6C6@u.washington.edu> In-Reply-To: <80A9FCAE-B445-4E9D-B42F-7F5D5644B6C6@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: php4 sessions not built by default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 07:36:13 -0000 Garrett Cooper wrote: > Just trying to access some session variables via the PHP4 and for > some odd reason it doesn't appear as if the function exists. Is this not > built in PHP4 by default? And if so, how may I remedy the issue? > Thanks, > -Garrett Hi Garrett, Yeah, I think you are right that it doesn't install session support by default. I remember running into this myself. The solution is to install the lang/php4-extensions port if you don't already have it installed. That port will give you options to install all kinds of php extensions that you might need including session support. If you already have the lang/php4-extensions port installed and you need a different way to install session support, install the www/php4-session port directly. - Sam