> From: "Kjell - LA3SG" <[EMAIL PROTECTED]>
> To: Roman Neuhauser <[EMAIL PROTECTED]>
> Date: Sat, 13 Jul 2002 09:25:37 +0100
> Subject: Re: FreeBSD 4.6 can not serve PHP web pages
> Cc: [EMAIL PROTECTED]
> 
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to