<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/yaconf.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'yaconf.installation.php',
    1 => 'Installation',
    2 => 'Installation',
  ),
  'up' => 
  array (
    0 => 'yaconf.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'yaconf.requirements.php',
    1 => 'Requirements',
  ),
  'next' => 
  array (
    0 => 'yaconf.configuration.php',
    1 => 'Runtime Configuration',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/yaconf/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="yaconf.installation" class="section">
  <h2 class="title">Installation</h2>
  <p class="simpara">
   Yaconf can be installed in one of three ways: via PECL, via PIE,
   or by building it from source.
  </p>
  <p class="para">
   This <a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> extension is not bundled with PHP.
  </p>
  <p class="para">
   Information for installing this PECL extension may be
found in the manual chapter titled <a href="install.pecl.php" class="link">Installation
of PECL extensions</a>. Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here: 
   <a href="https://pecl.php.net/package/yaconf" class="link external">&raquo;&nbsp;https://pecl.php.net/package/yaconf</a>.
  </p>
  <p class="para">
   Windows binaries (<abbr title="Dynamic Link Library">DLL</abbr> files)
for this <abbr title="PHP Extension Community Library">PECL</abbr> extension are available from the PECL website.
  </p>
  <div class="example" id="example-1">
   <p><strong>Example #1 Installing Yaconf with PECL</strong></p>
   <div class="example-contents">
<div class="shellcode"><pre class="shellcode">pecl install yaconf</pre>
</div>
   </div>

  </div>
  <p class="simpara">
   Since Yaconf 1.2.0, the extension can be installed with
   <a href="https://github.com/php/pie" class="link external">&raquo;&nbsp;PIE</a>, the PHP Installer for Extensions, by running the
   following on the command line.
  </p>
  <div class="example" id="example-2">
   <p><strong>Example #2 Installing Yaconf with PIE</strong></p>
   <div class="example-contents">
<div class="shellcode"><pre class="shellcode">pie install laruence/yaconf</pre>
</div>
   </div>

  </div>
  <p class="simpara">
   The source code is hosted on
   <a href="https://github.com/laruence/yaconf" class="link external">&raquo;&nbsp;GitHub</a>. To
   build the extension from source, run the following on the command
   line, replacing the paths with those of the local PHP
   installation.
  </p>
  <div class="example" id="example-3">
   <p><strong>Example #3 Building Yaconf from source</strong></p>
   <div class="example-contents">
<div class="shellcode"><pre class="shellcode">/path/to/phpize
./configure --with-php-config=/path/to/php-config
make &amp;&amp; make install</pre>
</div>
   </div>

  </div>
 </div><?php manual_footer($setup); ?>