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/install.pecl.intro.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = 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 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'install.pecl.intro.php',
   
1 => 'Introduction to PECL Installations',
  ),
 
'up' =>
  array (
   
0 => 'install.pecl.php',
   
1 => 'Installation of PECL extensions',
  ),
 
'prev' =>
  array (
   
0 => 'install.pecl.php',
   
1 => 'Installation of PECL extensions',
  ),
 
'next' =>
  array (
   
0 => 'install.pecl.downloads.php',
   
1 => 'Downloading PECL extensions',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="install.pecl.intro" class="sect1">
  <h2 class="title">Introduction to PECL Installations</h2>
  <p class="simpara">
   <a href="http://pecl.php.net/" class="link external">&raquo; PECL</a> is a repository of PHP extensions that
   are made available to you via the <a href="http://pear.php.net/" class="link external">&raquo; PEAR</a>
   packaging system.  This section of the manual is intended to demonstrate
   how to obtain and install PECL extensions.
  </p>
  <p class="simpara">
   These instructions assume <i>/your/phpsrcdir/</i> is the path
   to the PHP source distribution, and that <i>extname</i> is the name of the
   PECL extension.  Adjust accordingly.  These instructions also assume a
   familiarity with the <a href="http://pear.php.net/manual/en/guide.users.commandline.cli.php" class="link external">&raquo; pear command</a>.
   The information in the PEAR manual for the <i>pear</i> command also
   applies to the <i>pecl</i> command.
  </p>
  <p class="simpara">
   To be useful, a shared extension must be built, installed, and loaded.  The
   methods described below provide you with various instructions on how to
   build and install the extensions, but they do not automatically load them.
   Extensions can be loaded by adding an <a href="ini.core.php#ini.extension" class="link">extension</a> directive.  To this <var class="filename">php.ini</var>
   file, or through the use of the <a href="function.dl.php" class="function">dl()</a> function.
  </p>
  <p class="simpara">
   When building PHP modules, it&#039;s important to have known-good versions
   of the required tools (autoconf, automake, libtool, etc.) See the
   <a href="http://php.net/svn.php" class="link external">&raquo; Anonymous SVN Instructions</a> for
   details on the required tools, and required versions.
  </p>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites