<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pdo.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'pdo.installation.php',
    1 => 'Встановлення',
    2 => 'Встановлення',
  ),
  'up' => 
  array (
    0 => 'pdo.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'prev' => 
  array (
    0 => 'pdo.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'next' => 
  array (
    0 => 'pdo.configuration.php',
    1 => 'Налаштування під час виконання',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/pdo/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="pdo.installation" class="section">
 <h2 class="title">Встановлення</h2>
 <p class="para">
  Це розширення початково увімкнено. Для вимкнення застосовується наступна опція
під час компіляції: 
  <strong class="option configure">--disable-pdo</strong>
 </p>
 <div class="procedure">
  <strong class="title">Installing PDO on Unix systems</strong>
  <ol type="1"><li>
   <p class="para">
    PDO and the <a href="ref.pdo-sqlite.php" class="link">PDO_SQLITE</a> driver
    is enabled by default. You may need
    to enable the PDO driver for your database of choice; consult the
    documentation for
    <a href="pdo.drivers.php" class="link">database-specific PDO drivers</a>
    to find out more about that.
   </p>
   <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
    <p class="para">
     When building PDO as a shared extension (<em>not
     recommended</em>) then all PDO drivers <em>must</em>
     be loaded <em>after</em> PDO itself.
    </p>
  </p></blockquote>
  </li>
  <li>
   <p class="para">
    When installing PDO as a shared module, the php.ini file needs to be
    updated so that the PDO extension will be loaded automatically when PHP runs.
    You will also need to enable any database specific drivers there too;
    make sure that they are listed after the extension=pdo line, as PDO must be
    initialized before the database-specific extensions can be loaded.
    If you built PDO and the database-specific extensions statically, you
    can skip this step.
    <div class="example-contents screen">
<div class="cdata"><pre>
extension=pdo
</pre></div>
    </div>
   </p>
  </li>
 </ol></div>
 <div class="procedure">
  <strong class="title">Windows users</strong>
  <ol type="1"><li>
   <p class="para">
    PDO is enabled by default.
    Choose the other database-specific DLL files and either use 
    <span class="function"><a href="function.dl.php" class="function">dl()</a></span> to load them at runtime, or enable them in
    <var class="filename">php.ini</var>. For example, this loads the
    <a href="ref.pdo-sqlite.php" class="link">PDO_SQLITE</a> driver but
    leaves the <a href="ref.pdo-odbc.php" class="link">PDO_ODBC</a> driver commented out:
    <div class="example-contents screen">
<div class="cdata"><pre>
;extension=pdo_odbc
extension=pdo_sqlite
</pre></div>
    </div>
   </p>
   <p class="para">
    These DLLs should exist in the system&#039;s 
    <a href="ini.core.php#ini.extension-dir" class="link">extension_dir</a>.
   </p>
  </li>
 </ol></div>
 <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
  <p class="para">
   Remember that after making changes to your <var class="filename">php.ini</var> file you will need to
   restart PHP for your new configuration directives to take effect.
  </p>
 </p></blockquote>
</div><?php manual_footer($setup); ?>