PHP 8.6.0 Beta 3 is available for testing

Kurulum

Yar can be installed in one of three ways: via PECL, via PIE, or by building it from source.

Bu » PECL eklentisi PHP ile gelmez.

Bu PECL eklentisini kurma bilgisi kılavuzun PECL eklentisinin kurulması başlıklı faslında bulunabilir. Yeni dağıtımlar, indirmeler, kaynak dosyaları, sürdürücü bilgileri ve CHANGELOG gibi ek bilgiler şu adreste bulunabilir: » https://pecl.php.net/package/yar.

Bu PECL eklentisi için Windows kütüphaneleri (DLL dosyaları) PECL sitesinde mevcuttur.

Örnek 1 Installing Yar with PECL

pecl install yar

As of Yar 2.4.0, the extension can be installed with » PIE, the PHP Installer for Extensions, by running the following on the command line.

Örnek 2 Installing Yar with PIE

pie install laruence/yar

The msgpack packager can be enabled at install time:

Örnek 3 Installing Yar with PIE and msgpack

pie install laruence/yar --enable-msgpack

The source code is hosted on » GitHub. To build the extension from source, run the following on the command line, replacing the paths with those of the local PHP installation.

Örnek 4 Building Yar from source

/path/to/phpize
./configure --with-php-config=/path/to/php-config
make && make install

The following configure options are available:

--with-curl

Location of the cURL installation, if it is not found in the default include paths.

--enable-msgpack

Enables the msgpack packager and makes the msgpack extension an optional dependency. When Yar is built with this option, the default value of yar.packager becomes msgpack.

--enable-epoll

Uses Linux epoll instead of select() for I/O multiplexing, available as of Yar 2.1.2. This can improve Yar_Concurrent_Client performance under high concurrency. It only takes effect on Linux; on other platforms it is silently ignored.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top