From owner-freebsd-questions Wed Jan 2 11: 5:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id BE53137B416 for ; Wed, 2 Jan 2002 11:05:38 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g02J5af21871; Wed, 2 Jan 2002 20:05:36 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002010220034766:2119 ; Wed, 2 Jan 2002 20:03:47 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g02JEd744006; Wed, 2 Jan 2002 20:14:39 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Wed, 2 Jan 2002 20:14:39 +0100 From: Roman Neuhauser To: Sean LeBlanc Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PHP port Message-ID: <20020102201439.F38258@roman.mobil.cz> Mail-Followup-To: Sean LeBlanc , freebsd-questions@FreeBSD.ORG References: <20020102110155.A31435@hostwiththemost> Mime-Version: 1.0 In-Reply-To: <20020102110155.A31435@hostwiththemost> User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 01/02/2002 08:03:47 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 01/02/2002 08:03:54 PM, Serialize complete at 01/02/2002 08:03:54 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Subject: PHP port > To: freebsd-questions@FreeBSD.ORG > From: Sean LeBlanc > Date: Wed, 2 Jan 2002 11:01:55 -0700 > > Hi, > > I'm trying to get PHP to use a custom session handler. The "normal" default > file session handler works, but when I try a custom session handler (because > I want to save session info to a database), the session_write never gets > called, only the open and read. I've already asked on the PHP list, and have > had a few responses, but none that help with this yet. I have seen this > exact same behavior at a former job, and it ended up being some sort of > config issue, but I can't remember what. I thought this was in the FreeBSD > problem reports, but I can't seem to find it. > > When I installed the port, I selected zlib, MySQL, PostgreSQL, and > transparent session ID in the little configure screen that comes up. > > Environment info: > > FreeBSD 4.4 > PHP 4.0.6 > Apache 1.3.20 You have register_globals off, don't you? ISTR that there were couple of bug reports about session_write() not being called with this setting. I don't know if it's fixed in 4.1.1. You should search bugs.php.net rather than the FreeBSD PR's. HTH && HAND. -- FreeBSD 4.4-STABLE 8:12PM up 7 days, 6:50, 19 users, load averages: 0.02, 0.04, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message