Downgrade apache from 2.4.2 to 2.2.x

xelons

New member
Joined
Aug 15, 2012
Messages
5
Hey guys,
Any way I can downgrade apache from 2.4.2 to 2.2.x? I need to do so because it seems there is a lot of problems with it's compatibility with php5.4.

Thanks.
 
set apache to 2.2 in the options file and recompile apache and php

But what errors you run into than?
We have some servers with apache 2.4 and php 5.4 without any problems.
 
set apache to 2.2 in the options file and recompile apache and php

But what errors you run into than?
We have some servers with apache 2.4 and php 5.4 without any problems.

Thanks for the reply, can you please give a little more details about the process? I'm kinda new to this.
Regarding the issues I have is this:
Code:
[core:notice] [pid 1621] AH00052: child pid 8509 exit signal Segmentation fault (11)
and this
Code:
 [lbmethod_heartbeat:notice] [pid 4937] AH02282: No slotmem from mod_heartmonitor
My vps went down for 4 hours while I was sleeping, and this only happened after I upgraded apache yesterday.
 
Here is how I downgraded if anyone had same issues:
Code:
cd /usr/local/directadmin/custombuild
httpd=2.2.22
./build apache
 
Here is how I downgraded if anyone had same issues:
Code:
cd /usr/local/directadmin/custombuild
httpd=2.2.22
./build apache

My bad, this didn't downgrade my apache, anyway I will just wait and see if I get anymore errors/
 
Is that second line a command you typed directly into the command line? If so, then it won't work. You need to set it in the options.conf file.

Jeff
 
Type in a shell

Code:
cd /usr/local/directadmin/custombuild
mv custom/ap2 custom/ap2-moved
./build set apache_ver 2.2
./build update
./build apache


As you should have in options.conf
#Possible values - 1.3, 2.0, 2.2, 2.4
apache_ver=2.2
 
Back
Top