<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pgsql.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'pgsql.installation.php',
    1 => '安装',
    2 => '安装',
  ),
  'up' => 
  array (
    0 => 'pgsql.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'pgsql.requirements.php',
    1 => '需求',
  ),
  'next' => 
  array (
    0 => 'pgsql.configuration.php',
    1 => '运行时配置',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/pgsql/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="pgsql.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  为启用 PostgreSQL 支持，编译 PHP 时需要 <strong class="option configure">--with-pgsql[=DIR]</strong>。<code class="literal">DIR</code>
  是 PostgreSQL 的基本安装目录，默认是 <var class="filename">/usr/local/pgsql</var>。如果共享对象模块可用，可以使用 <var class="filename">php.ini</var> 
  中的 <a href="ini.core.php#ini.extension" class="link">extension</a> 指令或者 <span class="function"><a href="function.dl.php" class="function">dl()</a></span> 函数加载 PostgreSQL 模块。
 </p>
</div><?php manual_footer($setup); ?>