<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mysqli.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'mysqli.installation.php',
    1 => 'Kurulum',
    2 => 'Kurulum',
  ),
  'up' => 
  array (
    0 => 'mysqli.setup.php',
    1 => 'Yapılandırma/Kurulum',
  ),
  'prev' => 
  array (
    0 => 'mysqli.requirements.php',
    1 => 'Gereksinimler',
  ),
  'next' => 
  array (
    0 => 'mysqli.configuration.php',
    1 => '&Ccedil;alışma Anı Yapılandırması',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mysqli/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysqli.installation" class="section">

<h2 class="title">Kurulum</h2>

 <p class="para">
  The <code class="literal">mysqli</code> extension was introduced with PHP version 
  5.0.0. The MySQL Native Driver was included in PHP version 5.3.0.
 </p>

 <div class="section" id="mysqli.installation.linux">

  <h2 class="title">Installation on Linux</h2>

  <p class="para">
   The common Unix distributions include binary versions of PHP that can
   be installed. Although these binary versions are typically built with
   support for the MySQL extensions, the extension libraries
   themselves may need to be installed using an additional package. Check
   the package manager that comes with your chosen distribution for
   availability.
  </p>
  
  <p class="para">
   For example, on Ubuntu the <code class="literal">php5-mysql</code> package installs
   the ext/mysql, ext/mysqli, and pdo_mysql PHP extensions. On CentOS, 
   the <code class="literal">php-mysql</code> package also installs these three 
   PHP extensions.
  </p>

  <p class="para">
   Alternatively, you can compile this extension yourself. Building PHP from 
   source allows you to specify the MySQL extensions you want to use, as well 
   as your choice of client library for each extension.
  </p>

  <p class="para">
   The MySQL Native Driver is the recommended client library option, as it
   results in improved performance and gives access to features not
   available when using the MySQL Client Library. Refer to
   <a href="mysqli.overview.php#mysqli.overview.mysqlnd" class="link">What is PHP&#039;s MySQL Native
   Driver?</a> for a brief overview of the advantages of MySQL Native
   Driver.
  </p>

  <p class="para">
   The <code class="literal">/path/to/mysql_config</code> represents the location of
   the <code class="literal">mysql_config</code> program that comes with MySQL
   Server.
  </p>

  <table id="mysqli.installation.time.matrix" class="doctable table">
   <caption><strong>mysqli compile time support matrix</strong></caption>
   
    <thead>
     <tr>
      <th>PHP Sürüm: </th>
      <th>Öntanımlı</th>
      <th>Yapılandırma Seçenekleri: <a href="mysqlnd.overview.php" class="link">mysqlnd</a></th>
      <th>Yapılandırma Seçenekleri: <code class="literal">libmysqlclient</code></th>
      <th>Sürüm Bilgisi</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>5.4.x and above</td>
      <td>mysqlnd</td>
      <td><strong class="option configure">--with-mysqli</strong></td>
      <td><strong class="option configure">--with-mysqli=/path/to/mysql_config</strong></td>
      <td>mysqlnd is the default</td>
     </tr>

     <tr>
      <td>5.3.x</td>
      <td>libmysqlclient</td>
      <td><strong class="option configure">--with-mysqli=mysqlnd</strong></td>
      <td><strong class="option configure">--with-mysqli=/path/to/mysql_config</strong></td>
      <td>mysqlnd is supported</td>
     </tr>

     <tr>
      <td>5.0.x, 5.1.x, 5.2.x</td>
      <td>libmysqlclient</td>
      <td>Kullanılabilir değil</td>
      <td><strong class="option configure">--with-mysqli=/path/to/mysql_config</strong></td>
      <td>mysqlnd is not supported</td>
     </tr>

    </tbody>
   
  </table>


  <p class="para">
   Note that it is possible to freely mix MySQL extensions and client
   libraries. For example, it is possible to enable the MySQL extension
   to use the MySQL Client Library (libmysqlclient), while configuring the
   <code class="literal">mysqli</code> extension to use the MySQL Native Driver.
   However, all permutations of extension and client library are
   possible.
  </p>

 </div>

 <div class="section" id="mysqli.installation.windows">

  <h2 class="title">Installation on Windows Systems</h2>

  <p class="para">
   On Windows, <var class="filename">php_mysqli.dll</var> DLL must be enabled in
   <var class="filename">php.ini</var>.
  </p>

  <p class="para">
   As with enabling any PHP extension (such as
   <var class="filename">php_mysqli.dll</var>), the PHP directive
   <a href="ini.core.php#ini.extension-dir" class="link">extension_dir</a> should be set
   to the directory where the PHP extensions are located. See also the
   <a href="install.windows.manual.php" class="link">Manual Windows Installation
   Instructions</a>. An example <code class="literal">extension_dir</code>
   value is <var class="filename">c:\php\ext</var>.
  </p>

  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    If when starting the web server an error similar to the following
    occurs: <code class="literal">&quot;Unable to load dynamic library
    &#039;./php_mysqli.dll&#039;&quot;</code>, this is because
    <var class="filename">php_mysqli.dll</var> cannot be found by the system.
   </p>
  </p></blockquote>

 </div>

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