I need a stats program!

I hate hitbox, and need to lose it anyways. I was using AXS for about 4 days but then I switched to php and I couldn't get it to work under php (they claim it can but it didn't for me)

so, I'm desperately in need of a nice stats program that works with php. The only stats I really care about are hits/uniques per day/week/month and referrers.

Chris