autodetect apache version