pHash-0.9.6 was released at 2013-04-23, but there are 2 major problems for certain usage, so I patched