finally got it to run under apache