Installing Apache 2.2.15 Manually
Posted by: blencorp (---.private.geico.com)
Date: March 11, 2010 12:16AM

Hello WAMP Family,

I had recently downloaded the latest build of WAMP - with Apache 2.2.11 for my application and it was working fine.

However, there was a Critical security advisory that went out to update to 2.2.15. Currently, WAMP only has upto 2.2.14, but Apache has the 2.2.15.

Is there a decent way to upgrade Apache to 2.2.15 manually?

Please let me know. This is a show stopper for my app

Thanks



Edited 1 time(s). Last edit at 03/11/2010 12:16AM by blencorp.

Options: ReplyQuote
Re: Installing Apache 2.2.15 Manually
Posted by: knightwhosaysni (---.28.18.186.in-addr.arpa)
Date: March 11, 2010 05:16AM

I was just wondering the same thing, and it turned out to be simpler than I expected. You don't even necessarily have to close or stop WAMP.

1 - Install Apache 2.2.15 as a custom install, set the location as 'C:\wamp\bin\apache\Apache2.2.15'

2 - Navigate to 'C:\wamp\bin\apache\Apache2.2.11' and copy the wampserver.conf file to 'C:\wamp\bin\apache\Apache2.2.15'

3 - Left click on the wamp icon in your taskbar. Left click on 'Apache' when the menu appears, then 'Version'. Then you'll notice both 2.2.11 and 2.2.15 (and 2.2.14 if you installed it too) appearing in your list. Select 2.2.15 and you're done (aside from setting up Firewall rules, naturally). WAMP will restart itself, or at least, it did on mine.

4 - You'll need to go through httpd.conf and make some changes to some directories. You can just copy these locations over from the same file in the 2.2.11 install. If you've changed anything in any other config file, for example httpd-vhosts.conf, you'll need to edit the 2.2.15 version of that too. You'll need to restart WAMP after editing these, obviously. You'll find there are quite a few changes to make to httpd.conf, I don't know if it's possible to use the old version of that file and then do a find/replace to swap out all instances of 2.11 for 2.15, they look the same to me. I did mine manually, one path at a time.

5 - If you're worried/not going to use them/wanting to save a few MB, you can I would have thought delete the older less secure version(s) from your ..bin\apache folder, but it's not necessary - and you'll have to shut down WAMP or Apache to do it.


Apologies for all the edits - it's late here.



Edited 7 time(s). Last edit at 03/11/2010 06:06AM by knightwhosaysni.

Options: ReplyQuote
Re: Installing Apache 2.2.15 Manually
Posted by: tearsong (66.9.70.---)
Date: March 12, 2010 11:11PM

I'm also attempting to install Apache 2.2.15 manually, but after extracting the latest version of Apache to D:\wamp\bin\apache\Apache2.2.15 and copying over the wampserver.conf, WAMP refuses to see the new version in the Apache "Versions" side menu. I've restarted WAMP several times, to no avail.

Any ideas as to what I'm doing wrong or missing...?



Edited 1 time(s). Last edit at 03/12/2010 11:12PM by tearsong.

Options: ReplyQuote
Re: Installing Apache 2.2.15 Manually
Posted by: yfastud (Moderator)
Date: March 13, 2010 01:34AM


Options: ReplyQuote
Re: Installing Apache 2.2.15 Manually
Posted by: knightwhosaysni (---.28.18.186.in-addr.arpa)
Date: March 13, 2010 04:29AM

Interesting
I've tried renaming the directory of my 2.2.15 install (and associated paths in config) and WAMP still sees it in the Versions menu and runs fine. Tried installing WAMP and 2.2.15 on another machine and that posed no problems either.

You should see it there without changing any other conf file in my experience so I'm a bit stuck with your problem.

Have you changed httpd.conf at all?
For example in your case the ServerRoot value should be set to
D:/wamp/bin/apache/apache2.2.15

Options: ReplyQuote
Re: Installing Apache 2.2.15 Manually
Posted by: tearsong (66.9.70.---)
Date: March 15, 2010 05:31PM

I have tried restarting WAMP, I haven't restarted the machine. (I could, I suppose; this is a test box.)

I copied the httpd.conf file from the .13 version, changed the ServerRoot, then restarted WAMP, but I still don't see it...


Edit: bouncing the machine didn't work. sad smiley



Edited 1 time(s). Last edit at 03/15/2010 05:51PM by tearsong.

Options: ReplyQuote


Sorry, only registered users may post in this forum.