Save and show php error messages.