Author |
|
MarlonRea
Joined: 11 May 2010 Posts: 3
|
Posted: Tue 11 May '10 16:23 Post subject: Upgrade from 2.0.55 to 2.2.15 |
|
|
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
|
Posted: Wed 12 May '10 12:13 Post subject: |
|
|
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
|
Posted: Wed 12 May '10 15:14 Post subject: |
|
|
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
|
Posted: Thu 13 May '10 13:13 Post subject: |
|
|
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
- 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
|
Posted: Thu 13 May '10 15:08 Post subject: |
|
|
thanks James Blond I will try that. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 13 May '10 15:39 Post subject: |
|
|
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 |
|