I've been searching for a small but functional PHP script or similar that I can expose via apache. Basically I'd like what "tail -f /var/log/something" does, but visible via a web browser. I'm finding various solutions, but most of them operate with something similar to "tail -10" under the hood - which is fine if the log is "slow" in writing - as you can imagine data can be "lost" between poll attempts of more than that number of lines was written.
Is there anything lightweight that satisfies what I am looking for? Something like Splunk is way beyond what I need or want.