Date: Wed, 5 Oct 2005 01:02:19 -0700 From: "K Anderson" <freebsduser@comcast.net> To: "Garrett Cooper" <youshi10@u.washington.edu>, "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Re: php4 sessions not built by default? Message-ID: <002c01c5c983$1c3a2ac0$0c64a8c0@opteron> References: <80A9FCAE-B445-4E9D-B42F-7F5D5644B6C6@u.washington.edu><43438264.1040309@servingpeace.com> <795D325A-9591-4B11-83BC-3C30F675CAAC@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Garrett Cooper" <youshi10@u.washington.edu> To: "FreeBSD Questions" <freebsd-questions@freebsd.org> Sent: Wednesday, October 05, 2005 12:58 AM Subject: Re: php4 sessions not built by default? > > On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: > >> 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 >> > > Still no dice. Do I need to restart any services or something? Did you shutdown apache then restart it? Also, for giggles find your extensions.ini file (might be found in /usr/local/etc/php) and see if you have a line that says extension=session.so. If not then add it. Shut down apache and then restart it. Hope that helps. ~Mr. Anderson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c5c983$1c3a2ac0$0c64a8c0>