<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.pecl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'install.pecl.php-config.php',
    1 => 'php-config',
    2 => 'php-config',
  ),
  'up' => 
  array (
    0 => 'install.pecl.php',
    1 => 'Installation der PECL-Erweiterungen',
  ),
  'prev' => 
  array (
    0 => 'install.pecl.phpize.php',
    1 => 'Kompilieren dynamischer PECL-Erweiterungen mit phpize',
  ),
  'next' => 
  array (
    0 => 'install.pecl.static.php',
    1 => 'PECL-Erweiterungen statisch in PHP kompilieren',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'install/pecl.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="install.pecl.php-config" class="sect1">
  <h2 class="title">
   <strong class="command">php-config</strong>
  </h2>

  <p class="para">
   <strong class="command">php-config</strong> ist ein einfaches Shell-Skript, das
   Informationen über die Konfiguration des installierten PHP-Systems liefert.
  </p>

  <p class="para">
   Wenn mehrere PHP-Versionen installiert sind, kann beim Kompilieren der
   Erweiterungen angeben, für welche Version diese erstellt werden soll, indem
   während der Konfiguration die Option
   <code class="literal">--with-php-config</code> verwendet wird und der Pfad des
   jeweiligen <strong class="command">php-config</strong>-Skripts angegeben wird.
  </p>

  <p class="para">
   Die Liste der Kommandozeilenoptionen, die das Skript
   <strong class="command">php-config</strong> zur Verfügung stellt, lässt sich jederzeit
   abfragen, indem <strong class="command">php-config</strong> mit der Option
   <strong class="option unknown">-h</strong> ausgeführt wird:
   <div class="example-contents screen">
<div class="cdata"><pre>
Usage: /usr/local/bin/php-config [OPTION]
Options:
  --prefix            [...]
  --includes          [...]
  --ldflags           [...]
  --libs              [...]
  --extension-dir     [...]
  --include-dir       [...]
  --php-binary        [...]
  --php-sapis         [...]
  --configure-options [...]
  --version           [...]
  --vernum            [...]
</pre></div>
   </div>
  </p>

  <p class="para">
   <table class="doctable table">
    <caption><strong>Befehlszeilenoptionen</strong></caption>
    
     <thead>
      <tr>
       <th>Option</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>--prefix</td>
       <td>
        Präfix des Verzeichnisses, in dem PHP installiert ist, z. B. /usr/local
       </td>
      </tr>

      <tr>
       <td>--includes</td>
       <td>
        Liste der <code class="literal">-I</code>-Optionen mit allen Include-Dateien
       </td>
      </tr>

      <tr>
       <td>--ldflags</td>
       <td>
        <code class="literal">LD</code>, mit denen PHP kompiliert wurde
       </td>
      </tr>

      <tr>
       <td>--libs</td>
       <td>Zusätzliche Bibliotheken, mit denen PHP kompiliert wurde</td>
      </tr>

      <tr>
       <td>--extension-dir</td>
       <td>
        Verzeichnis, in dem standardmäßig nach Erweiterungen gesucht wird
       </td>
      </tr>

      <tr>
       <td>--include-dir</td>
       <td>
        Präfix des Verzeichnisses, in das Header-Dateien standardmäßig
        installiert werden
       </td>
      </tr>

      <tr>
       <td>--php-binary</td>
       <td>Vollständiger Pfad zum PHP-CLI- oder -CGI-Binary</td>
      </tr>

      <tr>
       <td>--php-sapis</td>
       <td>Alle verfügbaren SAPI-Module</td>
      </tr>

      <tr>
       <td>--configure-options</td>
       <td>
        Konfigurationsoptionen zur Wiederherstellung der aktuellen
        PHP-Installationseinstellungen
       </td>
      </tr>

      <tr>
       <td>--version</td>
       <td>PHP-Version</td>
      </tr>

      <tr>
       <td>--vernum</td>
       <td>PHP-Version als Ganzzahl</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div><?php manual_footer($setup); ?>