I don't believe PHP does logging, but I could be wrong. What does create logs is your webserver, and the absolute best I've seen is:
http://www.analog.cx/
I don't know any MySQL log analyzers, but I'd like one too.
However since you want to know about pageviews accurately, you must without a doubt read this:
http://www.analog.cx/docs/webworks.html
And read every bit of it.
When done, read "Why Web Usage Statistics are (Worse Than) Meaningless":
http://www.cranfield.ac.uk/stats/
I knew all that was listed with exception to a few bits about AOL, but I stopped to think about it all at length.