Not sure why I put the defined(PHP_BINARY) check. Removed it.