Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 11:40:25 -0800
From:      "Greg Albrecht" <gregoryba@gmail.com>
To:        "Tim Nilimaa" <tim@nilimaa.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgrade apache
Message-ID:  <39ed86f90701121140r4ce520b1x6b235b255f8fc184@mail.gmail.com>
In-Reply-To: <DE78066D8B3B6048AEB8D6A86CD1B8F0E445@minimon.worldoftitans.local>
References:  <DE78066D8B3B6048AEB8D6A86CD1B8F0E445@minimon.worldoftitans.local>

next in thread | previous in thread | raw e-mail | index | archive | help
from memory...

for apache:

$ cd /usr/ports/www/apache20
$ make deinstall
$ cd /usr/ports/www/apache22
$ make install

you might need to upgrade your /usr/local/etc/apache/httpd.conf as
some of the directives have changed between 20 and 22. when you try to
start apache it will let you know what's wrong.

for php:

$ cd /usr/ports/lang/php5
$ make install

make sure you select 'apache' in the menu list, otherwise you'll be
stuck with php5 as a cgi (who wants that?)

of course, upgrading to php5 introduces it's own problems, aside from
syntax changes in the language, you'll also need to upgrade all of
your php5 and pecl modules:

$ cd /usr/ports/lang/php5-extensions
$ make install

-g

On 12/01/07, Tim Nilimaa <tim@nilimaa.se> wrote:
> Hi,
>
> How do I upgrade apache-2.0.59 to apache22? Do I have to do make uninstall for port apache20 and then make install for apache22?
> I do have php installed - wouldnt that be a problem if I uninstall apache20? Also - upgrading php43 to php51, is it the same thing with that?
>
>
> Kind regards
>
> Tim
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>


-- 
Greg Albrecht (gregoryba@gmail.com)
An Indie, Hip Hop and IDM Podcast: The Letter G
http://theletterg.org



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