downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/internals2.pdo.building.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/internals2.pdo.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'internals2.pdo.building.php',
   
1 => 'Building',
  ),
 
'up' =>
  array (
   
0 => 'internals2.pdo.php',
   
1 => 'PDO Driver How-To',
  ),
 
'prev' =>
  array (
   
0 => 'internals2.pdo.implementing.php',
   
1 => 'Fleshing out your skeleton',
  ),
 
'next' =>
  array (
   
0 => 'internals2.pdo.testing.php',
   
1 => 'Testing',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<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; 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><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites