Rewrite PHP error log reader to universal Error Log reader

Signed-off-by: Gergely Tóth <tgely@gumisarok.hu>