Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 11226

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>Installation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdo.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo.configuration.html">Runtime Configuration</a></div>
 <div class="up"><a href="sdo.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sdo.installation" class="section">
  <h2 class="title">Installation</h2>
  <p class="para">
   Information for installing this PECL extension may be
found in the manual chapter titled <a href="install.pecl.html" class="link">Installation
of PECL extensions</a>. Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here: 
   <a href="http://pecl.php.net/package/sca_sdo" class="link external">&raquo;&nbsp;http://pecl.php.net/package/sca_sdo</a>.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    Earlier versions of the SDO extension required a separate shared
    library for the XML DAS. This is now obsolete and any references to
    <var class="filename">php_sdo_das_xml.dll</var> or
    <var class="filename">sdo_das_xml.so</var> should be removed from your <var class="filename">php.ini</var>.
   </p>
  </p></blockquote>
  <div class="procedure">
   <strong class="title">Unix systems</strong>
   <ol type="1"><li>
    <p class="para">
     The three SDO components - the SDO core, the XML DAS and the
     Relational DAS - are packaged together with <em>Service Component 
     Architecture (SCA)</em> into one PECL project, SCA_SDO, so you can 
     download SCA and all three parts of SDO with the command:
     <div class="example-contents screen">
<div class="cdata"><pre>
pecl install SCA_SDO
</pre></div>
     </div>
    </p>
    <p class="para">
     This command will build the SDO shared library as well as
     installing the PHP files that make up SCA and the SDO 
     Relational DAS.
    </p>
    <p class="para">
     If you want to use the latest beta version, then instead run:
     <div class="example-contents screen">
<div class="cdata"><pre>
pecl install SCA_SDO-beta
</pre></div>
     </div>
    </p>
   </li>
   <li>
    <p class="para">
     The <strong class="command">pecl</strong> command automatically installs the SDO
     module into your PHP extensions directory. To enable the SDO extension
     you must add the following line to <var class="filename">php.ini</var>:
     <div class="example-contents screen">
<div class="cdata"><pre>
extension=sdo.so
</pre></div>
     </div>
    </p>
    <p class="para">
     For more information about building PECL packages, consult the
     <a href="install.pecl.html" class="link">PECL installation</a>
     section of the manual.
    </p>
   </li>
  </ol></div>



  <div class="procedure">
   <strong class="title">Building SDO on Linux</strong>
   <p class="para">
    This section describes how to build the SDO core and XML DAS on
    Linux. You would only need to know how to do this if you wish to
    build a recent version that you have checked out of SVN.
   </p>
   <ol type="1"><li>
    <p class="para">
     Change to the main extension directory:
     <strong class="command">cd &lt; wherever your sdo code is &gt;</strong>
    </p>
   </li>
   <li>
    <p class="para">
     Run <strong class="command">phpize</strong>, which will set up the environment
     to compile SDO.
    </p>
   </li>
   <li>
    <p class="para">
     Next, run <strong class="command">./configure; make; make install</strong>.
     Please note, you may need to login as root to install the extension.
    </p>
   </li>
   <li>
    <p class="para">
     Make sure that the module is loaded by PHP, by adding
     <var class="filename">extension=sdo.so</var>
     to your <var class="filename">php.ini</var> file.
    </p>
   </li>
  </ol></div>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdo.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo.configuration.html">Runtime Configuration</a></div>
 <div class="up"><a href="sdo.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>