If your PHP script is appending to a log file, linux has the tail command, which lets you monitor all the data that gets written to a file.
For example, this command will show you each new line that gets written to the end of a file as it gets written. It runs until you stop it by hitting ctrl-c
tail -f myLogFile.txt