<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pdo.drivers.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'ref.pdo-oci.php',
    1 => 'Oracle (PDO)',
    2 => 'Oracle (PDO_OCI) İşlevleri',
  ),
  'up' => 
  array (
    0 => 'pdo.drivers.php',
    1 => 'PDO S&uuml;r&uuml;c&uuml;leri',
  ),
  'prev' => 
  array (
    0 => 'ref.pdo-sqlsrv.connection.php',
    1 => 'PDO_SQLSRV DSN',
  ),
  'next' => 
  array (
    0 => 'ref.pdo-oci.connection.php',
    1 => 'PDO_OCI DSN',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/pdo_oci/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.pdo-oci.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.pdo-oci" class="reference">
  
  <h1 class="title">Oracle (PDO_OCI) İşlevleri</h1>
  
  <div class="partintro">

   

<div class="section" id="ref.pdo-oci.installation">
 <h2 class="title">Kurulum</h2>
 <p class="para">
  If the Oracle Database is on the same machine as PHP, the database
  software already contains the necessary libraries.  When PHP is on
  a different machine, use the free
  <a href="https://www.oracle.com/database/technologies/instant-client.html" class="link external">&raquo;&nbsp;Oracle Instant Client</a> libraries.
  For details refer to the <a href="oci8.requirements.php" class="link">OCI8 Requirements</a> section.
 </p>

 <div class="section" id="pdo-oci.installation.php84">
  <h2 class="title">PHP 8.4</h2>
  <p class="para">
    itibariyle, bu eklenti  <a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a>
deposuna taşınmış olup artık PHP kaynak paketinde dağıtılmamaktatır.8.4.0
  </p>
  <p class="para">
   Bu PECL eklentisini kurma bilgisi kılavuzun <a href="install.pecl.php" class="link">PECL eklentisinin
kurulması</a> başlıklı faslında bulunabilir. Yeni dağıtımlar, indirmeler,
kaynak dosyaları, sürdürücü bilgileri ve CHANGELOG gibi ek bilgiler şu adreste
bulunabilir: 
   <a href="https://pecl.php.net/package/PDO_OCI" class="link external">&raquo;&nbsp;https://pecl.php.net/package/PDO_OCI</a>.
  </p>
 </div>

 <div class="section" id="pdo-oci.installation.phplt84">
  <h2 class="title">PHP &lt; 8.4</h2>
  <p class="para">
   Use <strong class="option configure">--with-pdo-oci[=DIR]</strong> to install
   the PDO Oracle OCI extension, where the optional <code class="literal">[=DIR]</code>
   is the Oracle Home directory. <code class="literal">[=DIR]</code> defaults to
   the <var class="varname">$ORACLE_HOME</var> environment variable.
  </p>
  <p class="para">
   Use <strong class="option configure">--with-pdo-oci=instantclient,prefix,version</strong>
   for an Oracle Instant Client <abbr>SDK</abbr>, where prefix and
   version are configured.
  </p>
  <p class="para">
   <div class="example-contents screen">
    <div class="cdata"><pre>
// Using $ORACLE_HOME
$ ./configure --with-pdo-oci

// Using OIC for Linux with 10.2.0.3 RPMs with a /usr prefix
$ ./configure --with-pdo-oci=instantclient,/usr,10.2.0.3
</pre></div>
   </div>
  </p>
 </div>
</div>


   

<div class="section" id="pdo-oci.constants">
 <h2 class="title">Öntanımlı Sabitler</h2>
 <p class="simpara">
Bu sabitler bu sürücü tarafından
tanımlanmış olup, sadece eklentinin PHP içinde derlenmiş olması veya çalışma
anında dinamik olarak yüklenmesi halinde kullanılabilir. Ek olarak, bu
sürücüye özgü sabitler sadece bu sürücü kullanılıyorsa kullanılmalıdır.
Sürücüye özgü özniteliklerin postgres sürücüsü ile kullanılması beklenmedik
davranışlara yol açabilir. Eğer kodunuz çok sayıda sürücüye karşı çalışıyorsa
sürücüyü sınayacak <strong><code><a href="pdo.constants.php#pdo.constants.attr-driver-name">PDO::ATTR_DRIVER_NAME</a></code></strong> özniteliğini
sağlamak için <span class="function"><a href="pdo.getattribute.php" class="function">PDO::getAttribute()</a></span>
kullanılabilir.</p>
 <dl>
  
  
   <dt id="pdo.constants.oci-attr-action">
    <strong><code><a href="ref.pdo-oci.php#pdo.constants.oci-attr-action">PDO::OCI_ATTR_ACTION</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Provides a way to specify the action on the database session.
    </p>
    <p class="para">
     Mevcut olduğu PHP sürümleri:  7.2.16 and 7.3.3
    </p>
   </dd>
  
  
  
   <dt id="pdo.constants.oci-attr-client-info">
    <strong><code><a href="ref.pdo-oci.php#pdo.constants.oci-attr-client-info">PDO::OCI_ATTR_CLIENT_INFO</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Provides a way to specify the client info on the database session.
    </p>
    <p class="para">
     Mevcut olduğu PHP sürümleri:  7.2.16 and 7.3.3
    </p>
   </dd>
  
  
  
   <dt id="pdo.constants.oci-attr-client-identifier">
    <strong><code><a href="ref.pdo-oci.php#pdo.constants.oci-attr-client-identifier">PDO::OCI_ATTR_CLIENT_IDENTIFIER</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Provides a way to specify the client identifier on the database session.
    </p>
    <p class="para">
     Mevcut olduğu PHP sürümleri:  7.2.16 and 7.3.3
    </p>
   </dd>
  
  
  
   <dt id="pdo.constants.oci-attr-module">
    <strong><code><a href="ref.pdo-oci.php#pdo.constants.oci-attr-module">PDO::OCI_ATTR_MODULE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Provides a way to specify the module on the database session.
    </p>
    <p class="para">
     Mevcut olduğu PHP sürümleri:  7.2.16 and 7.3.3
    </p>
   </dd>
  

 </dl>
</div>




  </div>

  

 <h2>İçindekiler</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-oci.connection.php">PDO_OCI DSN</a> — Oracle veritabanlarına bağlantı</li></ul>
</div>
<?php manual_footer($setup); ?>