aligns with host's apache and mysql settings and sets up a config var