makes sure apache works with both versions >2.4 and <2.4