Create a php file containing the following code. Update the system command if you are placing the script in a different folder than where the error_log is located. Change the "20" to any number to represent the lines you wish to display.
<html><head><meta http-equiv="refresh" content="5"></head><body>
<pre><?php
system('tail error_log');