Php failover errorcode