Date: Sat, 13 Jul 2002 12:16:24 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Kjell - LA3SG <kmidtset@c2i.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD 4.6 can not serve PHP web pages Message-ID: <20020713101624.GD322@freepuppy.bellavista.cz> In-Reply-To: <3D2FF211.32402.C80407@localhost> References: <3D2FE2E7.6226.8CC77C@localhost> <3D2FF211.32402.C80407@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Kjell - LA3SG" <kmidtset@c2i.net> > To: Roman Neuhauser <neuhauser@bellavista.cz> > 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) <? phpinfo() ?> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020713101624.GD322>