Apache-MySQL-PHP from ports

Bill Moran wmoran at potentialtech.com
Wed Jun 9 07:58:19 PDT 2004


"Grant Peel" <gpeel at thenetnow.com> 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?
> 
> 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?

Hehe ...
You're underestimating the ports.

I would suggest you follow the following steps:
1) cd /usr/ports/www/mod_php4 && make install
2) Wait a bit for the download
3) Be pleasantly surprised

p.s. I was going to just tell you what will happen, but I think it'll be more
fun if you're just pleasantly surprised :)

p.p.s. Yes, you could do what you suggest, and it would work, but I think you'll
be pleasantly surprised that you don't have to :)

p.p.p.s.  Once PHP is installed, just go to the mod_frontpage directly and
install it, it will add the module to Apache

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


More information about the freebsd-questions mailing list