Since you're on XP, you'd probably want to create a service that monitors the log file for. By doing so, you will also have access to Window's sound APIs.
PHP by nature does not have access to the sound APIs so it would have to call another program to make noise. You could setup PHP to check the log file on a periodic schedule (either via the task scheduler or by having PHP sleep for a little bit).