From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 01:34:45 2005 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 3A71316A4CE for ; Mon, 10 Jan 2005 01:34:45 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AB2743D45 for ; Mon, 10 Jan 2005 01:34:45 +0000 (GMT) (envelope-from Jeff@kreska.org) Received: from hacking.kicks-ass.org ([67.163.98.154]) by comcast.net (rwcrmhc12) with ESMTP id <2005011001344401400gkl6ce>; Mon, 10 Jan 2005 01:34:44 +0000 Received: from mail.kreska.org (ecs2400 [192.168.0.8]) by hacking.kicks-ass.org (8.13.1/8.13.1) with ESMTP id j0A1Ye1a029787 for ; Sun, 9 Jan 2005 19:34:43 -0600 (CST) (envelope-from Jeff@Kreska.org) Received: from 192.168.0.2 (SquirrelMail authenticated user jkreska) by mail.kreska.org with HTTP; Sun, 9 Jan 2005 19:34:43 -0600 (CST) Message-ID: <1849.192.168.0.2.1105320883.squirrel@mail.kreska.org> In-Reply-To: <20041201224338.7bf700bd.nico.meijer@zonnet.nl> References: <200412011511.13016.justin@cpaaa.org> <20041201224338.7bf700bd.nico.meijer@zonnet.nl> Date: Sun, 9 Jan 2005 19:34:43 -0600 (CST) From: "Jeff" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.4-rc1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: moregroupware not working because of PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 01:34:45 -0000 I tend to belive that the latest php4 port with modules is broken. I had to recompile php4 with static ssl support to allow squirelmail to connect to to my imaps server. Are there any other people having problems with the latest php4 port and modules? Maybe were all just missing a crucial config step. My System is a fairly stock 5.3R with the exception I cvsup my ports tree. On Wed, December 1, 2004 3:43 pm, Nico Meijer said: > Hi Justin, > > Lemme get 'rough' on you... ;-) > >> When I log on to my web server where running moregroupware >> ( www.webserver.com/webmail/setup/index.php ) I get : >> "Fatal error: Call to undefined function: session_id() >> in /usr/local/www/moregroupware/include/log.inc.php on line 70" > > What FreeBSD version? What web server software? If apache, which > version? Which version of moregroupware? How did you install > moregroupware? How did you install php? Which version? Any extensions? > If so, which? Catch my drift? ;-) > > Assuming an up-to-date FreeBSD 4.x or 5.x and apache-1.3.x from ports > and php4-4.3.x from ports, I'd say you missed php4-session. > > What does `pkg_info |grep php4` tell you? One of my boxen says: > php4-4.3.9 PHP Scripting Language (Apache Module and CLI) > php4-mysql-4.3.9 The mysql shared extension for php > php4-pcre-4.3.9 The pcre shared extension for php > php4-pear-4.3.9 PEAR framework for PHP > php4-session-4.3.9 The session shared extension for php > php4-xml-4.3.9 The xml shared extension for php > >> I think it has something to do with the /usr/local/etc/php.conf or >> php.ini I know this is not a moregroupware problem because I get the >> same error with squirrelmail. > > I think you got this part right. ;-) > > HTH... Nico > >