Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10710

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Oracle Functions (PDO_OCI)</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-sqlsrv.connection.html">PDO_SQLSRV DSN</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-oci.connection.html">PDO_OCI DSN</a></div>
 <div class="up"><a href="pdo.drivers.html">PDO Drivers</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.pdo-oci" class="reference">
  
  <h1 class="title">Oracle Functions (PDO_OCI)</h1>
  
  <div class="partintro">

   <div class="section" id="pdo-oci.intro">
   <h2 class="title">Introduction</h2>
    <p class="para">
     <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This extension is
<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this extension including
the names of its functions and any other documentation surrounding this
extension may change without notice in a future release of PHP.
This extension should be used at your own risk.</p></div>
     PDO_OCI is a driver that implements the <a href="intro.pdo.html" class="link">PHP Data
     Objects (PDO) interface</a>
     to enable access from PHP to Oracle databases through the OCI library.
    </p>
   </div>
   
   

<div class="section" id="ref.pdo-oci.installation">
 <h2 class="title">Installation</h2>
 <p class="para">
  Use <strong class="option configure">--with-pdo-oci[=DIR]</strong>
 to install
  the PDO Oracle OCI extension, where the optional <em>[=DIR]</em>
  is the Oracle Home directory. <em>[=DIR]</em> defaults to
  the <var class="varname"><var class="varname">$ORACLE_HOME</var></var> environment variable.
 </p>
 <p class="para">
  Use <strong class="option configure">--with-pdo-oci=instantclient,prefix,version</strong>

  for an Oracle Instant Client <acronym>SDK</acronym>, 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>

  

 <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-oci.connection.html">PDO_OCI DSN</a> — Connecting to Oracle databases</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-sqlsrv.connection.html">PDO_SQLSRV DSN</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-oci.connection.html">PDO_OCI DSN</a></div>
 <div class="up"><a href="pdo.drivers.html">PDO Drivers</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>