From owner-freebsd-questions@FreeBSD.ORG Wed Dec 1 21:43:42 2004 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 7D65716A4CE for ; Wed, 1 Dec 2004 21:43:42 +0000 (GMT) Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03D8B43D41 for ; Wed, 1 Dec 2004 21:43:42 +0000 (GMT) (envelope-from nico.meijer@zonnet.nl) Received: from piweblw.demon.nl ([82.161.24.55]:28154 helo=openbsd.piweb.intern) by post-24.mail.nl.demon.net with smtp (Exim 4.34) id 1CZcGC-000B5c-Tu for questions@freebsd.org; Wed, 01 Dec 2004 21:43:40 +0000 Date: Wed, 1 Dec 2004 22:43:38 +0100 From: Nico Meijer To: questions@freebsd.org Message-Id: <20041201224338.7bf700bd.nico.meijer@zonnet.nl> In-Reply-To: <200412011511.13016.justin@cpaaa.org> References: <200412011511.13016.justin@cpaaa.org> X-Mailer: Sylpheed version 0.9.11 (GTK+ 1.2.10; i386-unknown-openbsd3.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Wed, 01 Dec 2004 21:43:42 -0000 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