php8.5
Home/ Manual/ reference / yaconf/ Installing Yaconf with PECL

Installing Yaconf with PECL

Yaconf requires PHP 7.0 and above.

Setup

Required

Yaconf requires PHP 7.0 and above.

Install

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

Moved

Info Packageyaconf.

Avail

Installing Yaconf with PECL

shell
pecl install yaconf

Since Yaconf 1.2.0, the extension can be installed with Pie, the PHP Installer for Extensions, by running the following on the command line.

Installing Yaconf with PIE

shell
pie install laruence/yaconf

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.

Building Yaconf from source

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

Ini

Resources

Source: reference/yaconf/setup.xml · from the official PHP manual (php/doc-en)