Fixes #823

 * `PHP_BINARY` needs to be escaped before used in shell commands.
Merge pull request #824 from whatthejeff/issue_823