added configure phase to apache service