PHP Класс PhpExtensions, lithium

Both plain PHP.net and HHVM interpreters are supported. Some extensions cannot be installed with HHVM as they are not yet bundled.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
install ( string $name ) : void Install extension by given name.

Защищенные методы

Метод Описание
_apc ( )
_apcu ( )
_build ( array $data ) : void Builds a given item from source, by first retrieving the source tarball then phpize'ing and making it.
_ini ( array $data ) : void Add INI settings. Uses configration retrieved as per php_ini_loaded_file().
_isHhvm ( )
_memcached ( )
_mongo ( )
_opcache ( )
_pecl ( string $name, string | null $forceVersion = null, boolean $autoAccept = false ) : void Installs a package from pecl.
_redis ( )
_system ( string $command ) : void Executes given command, reports and exits in case it fails.
_xcache ( )

Описание методов

_apc() защищенный статический Метод

protected static _apc ( )

_apcu() защищенный статический Метод

protected static _apcu ( )

_build() защищенный статический Метод

Builds a given item from source, by first retrieving the source tarball then phpize'ing and making it.
protected static _build ( array $data ) : void
$data array An array with information about remote source location and special arguments that should be passed to `configure`.
Результат void

_ini() защищенный статический Метод

Note that in HHVM we currently cannot access the loaded ini file.
protected static _ini ( array $data ) : void
$data array INI settings to add.
Результат void

_isHhvm() защищенный статический Метод

protected static _isHhvm ( )

_memcached() защищенный статический Метод

protected static _memcached ( )

_mongo() защищенный статический Метод

protected static _mongo ( )

_opcache() защищенный статический Метод

protected static _opcache ( )

_pecl() защищенный статический Метод

Installs a package from pecl.
protected static _pecl ( string $name, string | null $forceVersion = null, boolean $autoAccept = false ) : void
$name string The name of the package to install.
$forceVersion string | null Optionally a specific version string, if not provided will install the latest available package version..
$autoAccept boolean
Результат void

_redis() защищенный статический Метод

protected static _redis ( )

_system() защищенный статический Метод

Executes given command, reports and exits in case it fails.
protected static _system ( string $command ) : void
$command string The command to execute.
Результат void

_xcache() защищенный статический Метод

protected static _xcache ( )

install() публичный статический Метод

Install extension by given name.
public static install ( string $name ) : void
$name string The name of the extension to install.
Результат void