From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 07:35:09 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 64E5516A41F for ; Wed, 5 Oct 2005 07:35:09 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04B4F43D46 for ; Wed, 5 Oct 2005 07:35:08 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout3.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.09) with ESMTP id j957Z7Mo009345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Oct 2005 00:35:07 -0700 X-Auth-Received: from [192.168.0.9] (c-24-18-246-211.hsd1.wa.comcast.net [24.18.246.211]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.09) with ESMTP id j957Z6CY017613 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Wed, 5 Oct 2005 00:35:07 -0700 In-Reply-To: <000a01c5c97e$0aa00a50$0c64a8c0@opteron> References: <80A9FCAE-B445-4E9D-B42F-7F5D5644B6C6@u.washington.edu> <000a01c5c97e$0aa00a50$0c64a8c0@opteron> Mime-Version: 1.0 (Apple Message framework v734) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5D2E1F24-97A6-4813-8E23-0CB6C99ECF3D@u.washington.edu> Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Wed, 5 Oct 2005 00:36:22 -0700 To: K Anderson X-Mailer: Apple Mail (2.734) X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_PRIORITY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_CRUFT 0' 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:35:09 -0000 On Oct 5, 2005, at 12:26 AM, K Anderson wrote: > ----- Original Message ----- > From: "Garrett Cooper" > To: "FreeBSD Questions" > Sent: Tuesday, October 04, 2005 11:48 PM > Subject: php4 sessions not built by default? > > > >> 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 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > Take a gander at http://us3.php.net/manual/en/ref.session.php > > I found this... > Installation > Session support is enabled in PHP by default. If you would not like > to build > your PHP with session support, you should specify the --disable- > session > option to configure. To use shared memory allocation (mm) for session > storage configure PHP --with-mm[=DIR] . > > Might want to check out some of the examples on the php web site to > see if > they work. > > Also, I looked in /usr/ports/lang/php4-extensions and saw it was a > meta-port > for ctype, mysql, overload, pcre, posix, session (ooooh!), > tokenizer, xml > and zlib (I wish the portmakers would put the old php installation > functionality back in place because, IMHO, it is a pain in the arse > to have > to go to each port separately and add it in as far as PHP is > concerned. I > liked the old functionality of php4 install when it asked what > modules were > to be included.) I know this is a smidge off topic but how in the > world do > you portupgrade a "meta-port"? > > > Hope that helps you. > > ~Mr. Anderson I finally found a webpage describing that *right* before you sent the message to me, compiled everything, but still session handling fails because it claims that the functions cannot be found. Any clues? I really do appreciate the help! -Garrett