public getAbsolutPathToPhpExecutable ( ) : string | ||
return | string | The absolute path to the appserver PHP executable |
public function getAbsolutPathToPhpExecutable()
{
$executable = StandardProvisioner::PHP_EXECUTABLE_UNIX;
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
// we have a different executable on Windows systems
$executable = StandardProvisioner::PHP_EXECUTABLE_WIN;
}
return $this->getService()->realpath($executable);
}