From owner-freebsd-questions Sat Jul 13 3:16:30 2002 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 3B76B37B400 for ; Sat, 13 Jul 2002 03:16:28 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 0ED3043E31 for ; Sat, 13 Jul 2002 03:16:27 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 10733 invoked from network); 13 Jul 2002 10:16:25 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 13 Jul 2002 10:16:25 -0000 Received: from freepuppy.bellavista.cz (localhost.bellavista.cz [127.0.0.1]) by freepuppy.bellavista.cz (8.12.5/8.11.6) with ESMTP id g6DAGPcS001251; Sat, 13 Jul 2002 12:16:25 +0200 (CEST) (envelope-from neuhauser@bellavista.cz) Received: (from roman@localhost) by freepuppy.bellavista.cz (8.12.5/8.12.4/Submit) id g6DAGOC9001250; Sat, 13 Jul 2002 12:16:24 +0200 (CEST) X-Authentication-Warning: freepuppy.bellavista.cz: roman set sender to neuhauser@bellavista.cz using -f Date: Sat, 13 Jul 2002 12:16:24 +0200 From: Roman Neuhauser To: Kjell - LA3SG Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD 4.6 can not serve PHP web pages Message-ID: <20020713101624.GD322@freepuppy.bellavista.cz> Mail-Followup-To: Kjell - LA3SG , freebsd-questions@FreeBSD.ORG References: <3D2FE2E7.6226.8CC77C@localhost> <3D2FF211.32402.C80407@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D2FF211.32402.C80407@localhost> User-Agent: Mutt/1.5.1i 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 > From: "Kjell - LA3SG" > To: Roman Neuhauser > Date: Sat, 13 Jul 2002 09:25:37 +0100 > Subject: Re: FreeBSD 4.6 can not serve PHP web pages > Cc: freebsd-questions@FreeBSD.ORG > > On 13 Jul 2002, at 10:33, Roman Neuhauser wrote: > > Just change the value of register_globals in php.ini to "On", > > and your code works as before. > > > Where does php.ini live? I find php.ini-dist in /usr/local/etc > Should i rename this one and leave it in /usr/local/etc ? > Kjell Location of php.ini depends on the --with-config-file-path ./configure option, so I can't tell where it's expected on your system. you have two ways to get this info: 1) if you installed php from the port, it'll be listed in the port's Makefile 2) will tell you default is /usr/local/lib IIRC (I put mine in /usr/local/etc for the CLI, and in /usr/local/etc/apche for the Apache API) -- FreeBSD 4.6-STABLE 12:11PM up 2:25, 6 users, load averages: 0.08, 0.03, 0.01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message