Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Upgrade Apache 2.0.63 to 2.4.3 |
|
Author |
|
megalominiac
Joined: 11 Sep 2012 Posts: 2 Location: UK, Watford
|
Posted: Tue 11 Sep '12 11:32 Post subject: Upgrade Apache 2.0.63 to 2.4.3 |
|
|
Hi,
Apologies for my ignorance, I have just inherited an Apache server which I need to upgrade. It's running Windows Server 2003, Apache 2.0.63 with PHP 5.2.8 and MySql5.
Ideally I'd like to get all of these up to date. So any advice on that is gratefully recieved.
My first question is:
Can I upgrade straight from Apache 2.0 to 2.4 or do I need to go to 2.2 first?
Thanks in advance for your help.
Al |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 11 Sep '12 11:47 Post subject: |
|
|
The auth config and some modules have changed with 2.4
I think you should install a parallel apache 2.4 on that machine listen on a different port and try to migrate the config files until it runs. That is what I would do. |
|
Back to top |
|
megalominiac
Joined: 11 Sep 2012 Posts: 2 Location: UK, Watford
|
Posted: Wed 12 Sep '12 14:32 Post subject: Server 2008 R2 |
|
|
It has been decided that we need to run this on a new server running 2008 R2 (x64 obviously).
I have installed the Visual C++ 2010 SP1 package and am planning to use the Apache 2.4 binaries from this site.
Is it best to use the x64 version of the binaries? or am I better off with 32 bit?
Regards
Al |
|
Back to top |
|
Qmpeltaty
Joined: 06 Feb 2008 Posts: 182 Location: Poland
|
Posted: Wed 12 Sep '12 15:07 Post subject: |
|
|
James Blond wrote: | The auth config and some modules have changed with 2.4
I think you should install a parallel apache 2.4 on that machine listen on a different port and try to migrate the config files until it runs. That is what I would do. |
This is exactly what i was doing when migrating from 2.2 to 2.4. I've set up additional instance of Apache on separate ports, copy the 2.2 configuration
on it and try to run new version. You will have to make some changes (excluding path changes etc.)
In my case the changes was :
1. 2.2 mod_ssl
SSLMutex changed to Mutex
additional module must be loaded - mod_socache_shmcb
2. 2.2 mod_deflate
additional module must be loaded - mod_headers
3. authorization, order, allow
http://httpd.apache.org/docs/2.4/upgrading.html
4. additional lines should be add to config file if you are using mod_ssl :
AcceptFilter https none
AcceptFilter http none
EnableSendfile Off
EnableMMAP off
5. path to rotatelog must contain file extension - .exe
When i had exacly the same copy of my production Apache 2.2. running on 2.4 i just have stopped Apache 2.2, changed listening ports on 2.4 and restart it. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 12 Sep '12 20:58 Post subject: |
|
|
megalominiac, cool Incubus song.
I think it depends on how you want to run your PHP, as a module (mod_php) or as an fcgi(d) app.
As a module you'll need 32 bit since there is no "official" 64bit PHP and you cannot load 32bit modules in 64bit Apache.
As an fcgi, you'll use mod_fcgid and in that case it doesn't matter. You'll see here where Millennium has stated the x64 Apache/mod_fcgid and 32bit PHP combo works rock solid for him. |
|
Back to top |
|
|
|
|
|
|