Sophie

Sophie

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

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

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.pdo.implementing.html">Fleshing out your skeleton</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.pdo.testing.html">Testing</a></div>
 <div class="up"><a href="internals2.pdo.html">PDO Driver How-To</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="internals2.pdo.building" class="sect1">
 <h2 class="title">Building</h2>
 <p class="para">
  The build process is designed to work with PEAR (see <a href="http://pear.php.net/" class="link external">&raquo;&nbsp;http://pear.php.net/</a> for more information about
  PEAR). There are two files that are used to assist in configuring your
  package for building. The first is config.m4 which is the
  <strong class="command">autoconf</strong> configuration file for all platforms except
  Win32. The second is config.w32 which is a build configuration file for use
  on Win32. Skeleton files for these are built for you when you first set up
  your project. You then need to customize them to fit the needs of your
  project.  Once you&#039;ve customized your config files, you can build your driver
  using the following sequence of commands:
 </p>

 <p class="para">
  Before first build:
 </p>
 
 <div class="example-contents screen"><div class="cdata"><pre>
$ sudo pecl install PDO
</pre></div></div>
 
 <p class="para">
  For each build:
 </p>

 <div class="example-contents screen"><div class="cdata"><pre>
$ cd pdo_SKEL
$ phpize
$ ./configure
$ make
$ sudo make install
</pre></div></div>

 <p class="para">
  The process can then be repeated as necessary during the development
  process.
 </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.pdo.implementing.html">Fleshing out your skeleton</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.pdo.testing.html">Testing</a></div>
 <div class="up"><a href="internals2.pdo.html">PDO Driver How-To</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>