Fix apache permissions and postgres hopefully