Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Upgrading apache

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  why consuming >80%CPU  
Author Message
postmaster6

External


Since: Apr 04, 2004
Posts: 17



(Msg. 1) Posted: Sat Apr 17, 2004 12:45 pm
Post subject: Upgrading apache
Archived from groups: alt>apache>configuration (more info?)

My webserver currently has :-

Apache/2.0.47 (Unix)
mod_perl/1.99_09
Perl/v5.8.0
PHP/4.3.5

I compiled all these in myself. What's the best way to upgrade? Do i
need to delete all the files + directories involved, and then compile
the later versions that i want to use? Or should i just compile and let
the newer versions overwrite what's already there?

TIA

Ben

 >> Stay informed about: Upgrading apache 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Apr 17, 2004 12:45 pm
Post subject: Re: Upgrading apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

bengee <postmaster.TakeThisOut@localhost.localdomain> wrote:
 > What's the best way to upgrade?

Does your system works (meaning: it does what you want when you
want) ? If the answer is yes, DO NOT UPGRADE IT.

Upgrade if and only if, your system doesn't do what you want when
you want, there is a bug that you always hit, the new version has
$feature that you really can't live without, the old version is
such a pain in the ass that upgrade is the best option _OR_
there is a huge security hole in the old version. Otherwise,
stick with what you have.

Davide

--
| Ambition is a poor excuse for not having sense enough to be lazy. --
| Charlie McCarthy
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Upgrading apache 
Back to top
Login to vote
postmaster6

External


Since: Apr 04, 2004
Posts: 17



(Msg. 3) Posted: Sat Apr 17, 2004 1:09 pm
Post subject: Re: Upgrading apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi wrote:
 > Does your system works (meaning: it does what you want when you
 > want) ? If the answer is yes, DO NOT UPGRADE IT.
 >
 > Upgrade if and only if, your system doesn't do what you want when
 > you want, there is a bug that you always hit, the new version has
 > $feature that you really can't live without, the old version is
 > such a pain in the ass that upgrade is the best option _OR_
 > there is a huge security hole in the old version. Otherwise,
 > stick with what you have.

I know all that, but i'm a sucker for latest versions Smile

Which way would you (or anyone else) recommend then?

Ben<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgrading apache 
Back to top
Login to vote
user2348

External


Since: Jun 28, 2003
Posts: 203



(Msg. 4) Posted: Sat Apr 17, 2004 1:09 pm
Post subject: Re: Upgrading apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"bengee" <postmaster RemoveThis @localhost.localdomain> wrote in message
news:ry6gc.33585$Y%6.4303901@wards.force9.net...

 > Which way would you (or anyone else) recommend then?

The way I would (and do) do it, is to build all the new versions in new
locations, then e.g. /usr/local/apache2-2.0.49 (this requires the use
of --prefix on all of them, and appropriate parameters to point each build to
the correct versions of each other where they need to link against each other).

Then once you are done switch your symlinks to point to the new ones from the
default locations.
e.g.
cd /usr/local
rm apache2 (assuming you used a symlink before, else rename this to the old
verion number)
ln -s apache2-2.0.49 apache2

Then in one easy batch of symlinks you have switched all these over, and not
upset anything that relies on their location. You can switch back just as easily
in case of a problem.

Richard.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgrading apache 
Back to top
Login to vote
postmaster6

External


Since: Apr 04, 2004
Posts: 17



(Msg. 5) Posted: Sat Apr 17, 2004 4:39 pm
Post subject: Re: Upgrading apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Richard Antony Burton wrote:
 > The way I would (and do) do it, is to build all the new versions in new
 > locations, then e.g. /usr/local/apache2-2.0.49 (this requires the use
 > of --prefix on all of them, and appropriate parameters to point each build to
 > the correct versions of each other where they need to link against each other).
 >
 > Then once you are done switch your symlinks to point to the new ones from the
 > default locations.
 > e.g.
 > cd /usr/local
 > rm apache2 (assuming you used a symlink before, else rename this to the old
 > verion number)
 > ln -s apache2-2.0.49 apache2

Thanks Richard, sounds good - i'll give that a try Smile

Ben<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgrading apache 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
2.0.40 apache: upgrading to 2.0.47 or what - Hello! I apologize if this is not the place for the apache and mod_perl version related question. I use Redhat8.0 and the default apache server is 2.0.40 with mod_perl and perl 5.8.0. I encountered difficulties to change my perl cgi scripts mod_perl....

Upgrading from 1.3.29 to 2.0.48 - Hi, I did some new installs, now the situation is as follows: I'm running Windows XP with a new installed Apache 1.3.29 - it runs perfect without any changes in the httpd.conf When I install Apache 2.0.48 on the same system (even with de-installing..

Upgrading 1.3 -> 2.0 vhosts? - Hi! Does the httpd config differ much between 1.3 and 2.0? The reason I wonder is becouse I just reinstalled my system and in the new system I went with 2.0 and copied most entries from the 1.3 config, but now my virtual hosts doesn't work anymore....

ssl on apache 2.0 - Hi, I've been trying to get mod_ssl working on apache 2.0 running on a Windows machine. This is a friend's system and he's hosting his and about 10 other sites. Only his one site will have ssl enabled. So far I've been able to get ssl working on all..

Which apache for win 98? - Which apache works with windows 98?
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]