While setting up I wasn't able to get phd daemon running on my end. The reason was that the daemon had no rights to write
In https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/ just below:
The phd.user has read and write access to the repositories.
Another line like:
Make sure that phd user has read and write rights to /var/tmp/phd.user/pid If phd.user has no access to it, propperly set the directory rights to allow the phd.user write and read.
For me personally sudo chmod go+w /var/tmp/phd/pid worked.