fix apache starting before postgres or mysql, RT#18983