AppserverIo\Appserver\Provisioning\StandardProvisioner::getAbsolutPathToPhpExecutable PHP Метод

getAbsolutPathToPhpExecutable() публичный Метод

Returns the absolute path to the appservers PHP executable.
public getAbsolutPathToPhpExecutable ( ) : string
Результат 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);
    }