[phpa] Re: phpa on FreeBSD

  • From: "Jamie Burns" <jamie.burns@xxxxxxxxxxxxxxxxxxxxxxx>
  • To: <phpa@xxxxxxxxxxxxx>
  • Date: Mon, 19 Nov 2001 14:23:56 -0000

cool.

you can actually set the place php looks for the ini file in the configure
parameters if you want consistency:

--with-config-file-path=PATH

j.

----- Original Message -----
From: "julien maerten" <julien@xxxxxxxxx>
To: <phpa@xxxxxxxxxxxxx>
Sent: Monday, November 19, 2001 2:01 PM
Subject: [phpa] Re: phpa on FreeBSD


>
>
>     I made the test on other servers that also use mod_php4, and it seems
> that making the port with the standard "make install" does use
> /usr/local/etc . For my first tests, the difference was that I compiled
the
> port manually ( ie cd /usr/ports/www/mod_php4/work/phpxxx && ./configure
&&
> make && make install ) as I needeed a specific ./configure line.
>     Some interesting lines from /usr/ports/www/mod_php4/Makefile :
>
> post-install:
> .if !defined(STANDALONE)
>         @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
> .else
>         @${MKDIR} ${PREFIX}/etc/php.standalone
>         @${INSTALL_DATA} ${WRKSRC}/php.ini-dist
${PREFIX}/etc/php.standalone
> .endif
>
>
>
> ----- Original Message -----
> From: "Paul - Zenith Tech Inc" <paul@xxxxxxxxxxxxxx>
> To: <phpa@xxxxxxxxxxxxx>
> Sent: Monday, November 19, 2001 2:49 PM
> Subject: [phpa] Re: phpa on FreeBSD
>
>
> >
> > Mine is in /usr/local/lib so I guess thats the standard place PHP uses.
> > Alot of FreeBSD ports use different locations, more suited to fbsd, so I
> > guess the mod_php4 is one of them
> >
> > Paul
> >
> > ----- Original Message -----
> > From: "Jamie Burns" <jamie.burns@xxxxxxxxxxxxxxxxxxxxxxx>
> > To: <phpa@xxxxxxxxxxxxx>
> > Sent: Monday, November 19, 2001 1:45 PM
> > Subject: [phpa] Re: phpa on FreeBSD
> >
> >
> > >
> > > out of interest, i installed using the mod_php4 port on a box and it
> does
> > > use /usr/local/etc which is strange (in fact i only use /usr/local/etc
> as
> > i
> > > dont see it has any place in /usr/local/lib!).
> > >
> > > i guess the rule of thumb is to check where php is looking for its
> php.ini
> > > file by issuing a phpinfo() command. it should tell you at the top of
> the
> > > resulting page.
> > >
> > > j.
> > >
> >
> >
> > ------------------------------------------------------------------------
> >   www.php-accelerator.co.uk           Home of the free PHP Accelerator
> >
> > To post, send email to phpa@xxxxxxxxxxxxx
> > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
unsubscribe
> >
> >
> >
>
> ------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
>

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: