public function setPhpBinary($php)
{
$this->commandline = $php;
}
/** * Create process */ protected function createProcess() { // initialisation du process $this->process = new PhpProcess($this->getScript(), $this->getConfiguration()->getCwd(), $this->getConfiguration()->getEnv(), $this->getConfiguration()->getTimeout()); if ($this->configuration->getParameter('PHP_BINARY')) { $this->process->setPhpBinary($this->configuration->getParameter('PHP_BINARY')); } }