<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'ref.pdo-informix.php',
    1 => 'Informix PDO Driver',
    2 => 'Informix PDO Driver (PDO_INFORMIX)',
  ),
  'up' => 
  array (
    0 => 'pdo.drivers.php',
    1 => 'PDO-Treiber',
  ),
  'prev' => 
  array (
    0 => 'ref.pdo-ibm.connection.php',
    1 => 'PDO_IBM DSN',
  ),
  'next' => 
  array (
    0 => 'ref.pdo-informix.connection.php',
    1 => 'PDO_INFORMIX DSN',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/pdo_informix/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.pdo-informix.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-informix" class="reference">
 
  <h1 class="title">Informix PDO Driver (PDO_INFORMIX)</h1>
  
  <div class="partintro">

   <div class="section" id="pdo-informix.intro">
    <h2 class="title">Einführung</h2>
    <p class="para">
     PDO_INFORMIX is a driver that implements the <a href="book.pdo.php#intro.pdo" class="link">PHP Data
     Objects (PDO)</a> interface to enable access from PHP to Informix databases.
    </p>
   </div>

   
   

<div class="section" id="ref.pdo-informix.installation">
 <h2 class="title">Installation</h2>
 <p class="para">
  To build the PDO_INFORMIX extension, the Informix Client SDK 2.81 UC1 or
  higher must be installed on the same system as PHP. The Informix Client
  SDK is available from the <a href="https://www.ibm.com/support/pages/download-informix-products" class="link external">&raquo;&nbsp;IBM Informix
  Support Site</a>.
 </p>
 <p class="para">
  PDO_INFORMIX is a <a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> extension, so follow the instructions in
  <a href="install.pecl.php" class="xref">Installation der PECL-Erweiterungen</a> to install the PDO_INFORMIX extension.
  Issue the <strong class="command">configure</strong> command to point to the location of the
  Informix Client SDK header files and libraries as follows:
  <div class="example-contents screen">
<div class="cdata"><pre>
   bash$ ./configure --with-pdo-informix=/path/to/SDK[,shared]
</pre></div>
  </div>
  The <strong class="command">configure</strong> command defaults to the value of the
  <var class="envar">INFORMIXDIR</var> environment variable.
 </p>
</div>




   <div class="section" id="ref.pdo-informix.features.cursors">
    <h2 class="title">Scrollable cursors</h2>
    <p class="para">
     PDO_INFORMIX supports scrollable cursors; however, they are not enabled
     by default. To enable scrollable cursor support, you must either set
     <strong class="userinput"><code>ENABLESCROLLABLECURSORS=1</code></strong> in the corresponding ODBC
     connection settings in <var class="filename">odbc.ini</var> or pass
     the <strong class="userinput"><code>EnableScrollableCursors=1</code></strong> clause in the DSN
     connection string.
    </p>
   </div>

  </div>

  

 <h2>Inhaltsverzeichnis</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-informix.connection.php">PDO_INFORMIX DSN</a> — Connecting to Informix databases</li></ul>
</div>
<?php manual_footer($setup); ?>