Mehmet Memduh Paşa, 1839-1925