update php error with custom one

based of github.com/GerHobbelt/PHP-Error. externalise css