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.
파일 보기 프로젝트 열기: unionofrad/lithium 1 사용 예제들

공개 메소드들

메소드 설명
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