logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Upgrade from 2.0.55 to 2.2.15
Author
MarlonRea



Joined: 11 May 2010
Posts: 3

PostPosted: Tue 11 May '10 16:23    Post subject: Upgrade from 2.0.55 to 2.2.15 Reply with quote

Hello, I am new to this forum. If anyone has some links or docs on how to properly upgrade from Apache 2.0.55 to 2.2.15 it would be very helpful.

Thank you,

Marlon Rea
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 12 May '10 12:13    Post subject: Reply with quote

There is a very brief upgrade guide in the online docs. http://httpd.apache.org/docs/2.2/en/upgrading.html

Easiest way is to install 2.2 on a different port, run parallel and just try. The confing hasn't changed that much from 2.0 to 2.2
Notice: the 2.0 modules won't load into 2.2 maybe tricky if you run your own modules.
Back to top
MarlonRea



Joined: 11 May 2010
Posts: 3

PostPosted: Wed 12 May '10 15:14    Post subject: Reply with quote

Thank you very much for the reply James Blond, I did review this document. I was looking for something that someone might have came accross in the sens of steps to do the upgrade.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 13 May '10 13:13    Post subject: Reply with quote

This is how I would do it.

- install apache 2.2 on a different port like 8080 and use the same document root as with 2.0
- compare the restults and ajust the httpd.conf as long until you have the expected results. Comment out all not needed modules.
- change the port on 2.0 to 8080 and on the 2.2 apache to 80. Restart both with the Apachemonitor. That should just take a few seconds. Keep the 2.0 files as a backup as long as needed.
- copy the document root to 2.2, remove the 2.0 service. Restart 2.2 Wink
- Uninstall / delete 2.0 files.

Notice: you have to use different names for the services using the -n parameter.

Good luck.
Back to top
MarlonRea



Joined: 11 May 2010
Posts: 3

PostPosted: Thu 13 May '10 15:08    Post subject: Reply with quote

thanks James Blond I will try that.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 13 May '10 15:39    Post subject: Reply with quote

a little late but I would like to address an observation.

In JB's step3, he mentions restarting both Apache's after swapping the ports. In reality this is what needs to be done, but if you swap ports in configs and "restart" any one of the Apache's, it will error cause it will try binding to the port the other is using at the moment, which will not fly. I would suggest actually stopping one, restart the other then start the first one.

As for the service names, they are different between the two version so there should be no need to use -n

version == default servicename
2.0.x == Apache2
2.2.x == Apache2.2
Back to top


Reply to topic   Topic: Upgrade from 2.0.55 to 2.2.15 View previous topic :: View next topic
Post new topic   Forum Index -> Apache