Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 2004 10:10:14 -0500
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache-MySQL-PHP from ports
Message-ID:  <40C72856.9060707@daleco.biz>
In-Reply-To: <007401c44e2e$effbb850$6601a8c0@grant>
References:  <007401c44e2e$effbb850$6601a8c0@grant>

next in thread | previous in thread | raw e-mail | index | archive | help
Grant Peel wrote:

>Hi all,
>
>TO this point, I have been installing everything from source. Starting with
>the new servers, which I am working on now, I would like to do as much as
>possible from ports.
>
>I have mysql installed correctly.
>
>I need now to install PHP and Apache.
>
>The source type install would require to run ./configure with a few options,
>then back to the PHP source dir, run ./configure with a few options, make,
>make install, then back to the apache dir, re ./configure, make, make
>install, etc etc.
>
>Since ports have patches and some Makefile options set, is it permissable to
>go to the Apache or PHP port dir, run the make, then rerun ./configure so as
>to emulate the steps above?
>
>  
>

Yes, but you'd defeat the point of it running all 3 steps automagically.

>Eventually, When it becomes time to comile apache, I will need to add the
>FrontPage patch as well. All this considered, woould I be better to keep
>installing all from source, or still try to stick to the ports method?
>  
>

I would think that defining the desired options in 
/usr/local/etc/php.conf would allow
you to get things configured as you like them with a one liner ("make 
install clean");
I tend to just use the defaults, though.  See make(1), make.conf(5), 
/usr/ports/mk/bsd.php.mk,
and /usr/local/etc/php.conf (now, whether or not you have the last two 
if you've
never done it from ports, I dunno....)

For FP, can't you just load the module?

Kevin Kinsey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40C72856.9060707>