InstallationYar can be installed in one of three ways: via PECL, via PIE, or by building it from source. This » PECL extension is not bundled with PHP. Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » https://pecl.php.net/package/yar. Windows binaries (DLL files) for this PECL extension are available from the PECL website. Example #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. Example #2 Installing Yar with PIE pie install laruence/yar The msgpack packager can be enabled at install time: Example #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. Example #4 Building Yar from source /path/to/phpize ./configure --with-php-config=/path/to/php-config make && make install
The following
|