cvs: peardoc / manual.xml.in /en/chapters parts.xml
| From: | Martin Jansen | Date: | Sat, 29 Dec 2001 10:58:25 +0000 |
| Subject: | cvs: peardoc / manual.xml.in /en/chapters parts.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1756@lists.php.net to get a copy of this message | ||
mj Sat Dec 29 05:58:25 2001 EDT
Added files:
/peardoc/en/chapters parts.xml
Modified files:
/peardoc manual.xml.in
Log:
* Rename first chapter.
* Add chapter about PEAR's three parts (core, extended, PECL).
Index: peardoc/manual.xml.in
diff -u peardoc/manual.xml.in:1.5 peardoc/manual.xml.in:1.6
--- peardoc/manual.xml.in:1.5 Tue Dec 18 11:34:46 2001
+++ peardoc/manual.xml.in Sat Dec 29 05:58:24 2001
@@ -27,11 +27,11 @@
&bookinfo;
&preface;
- <part id="getting-started">
- <title>&GettingStarted;</title>
+ <part id="about-pear">
+ <title>&AboutPEAR;</title>
&chapters.intro;
+ &chapters.parts;
&chapters.standards;
- <!-- &reference.pear; -->
</part>
<part id="pear-core">
Index: peardoc/en/chapters/parts.xml
+++ peardoc/en/chapters/parts.xml
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<chapter id="parts">
<title>PEAR's three parts</title>
<simpara>
PEAR is splitted into three parts, that are described in
this chapter.
</simpara>
<sect1 id="parts-core">
<title>Core</title>
<simpara>
The core part of PEAR contains basic code, that a lot of other
packages from the extended part rely on. Besides that it contains
code that has a high level of general usage.
</simpara>
</sect1>
<sect1 id="parts-extended">
<title>Extended</title>
<simpara>
The extended part of PEAR contains the general packages written
in PHP or extensions to PHP written in C that are compliant to
the PEAR <link linkend="standards">coding standards</link>.
</simpara>
<para>
The packages from the extended part are published via the PEAR
installation tools and have to correspond to the
<link linkend="standards">coding standards.</link>
</para>
</sect1>
<sect1 id="parts-pecl">
<title>PECL</title>
<simpara>
PECL is the repository for PHP extensions written in C, that are
not compliant to the PEAR <link linkend="standards">coding
standards.</link>
</simpara>
<para>
PECL has been set up to be a repository for the extension tree
from PHP, that will be moved from the PHP source tree to
PEAR.
</para>
<para>
Since the PEAR installation tools can't install packages from
PECL automatically right now, here is a short description how
to do that:
</para>
<para>
<itemizedlist>
<listitem>
<simpara>
Download the package from pear, then untar it somewhere.
Go into the newly built directory and do the following steps.
</simpara>
</listitem>
<listitem>
<simpara>phpize</simpara>
</listitem>
<listitem>
<simpara>./configure</simpara>
</listitem>
<listitem>
<simpara>make</simpara>
</listitem>
<listitem>
<simpara>cp modules/module.so /usr/local/lib/php</simpara>
</listitem>
</itemizedlist>
</para>
<para>
The path, where the module.so is expected, can be different on
your system (check <filename>php.ini</filename> and <function>
phpinfo</function>). To actually use the module, you have to add
it to the extension directive in php.ini or to load it with
dl("module.so") within your php-files.
</para>
<para>
You can compile this extension directly into your php-binary,
too. For this you have to extract the package into php4/ext
(in your source directory). After that do also phpize in this
new module-directory. But before you can configure your main
php-exectuable, you have to do a <filename>./buildconf</filename>
on the toplevel of the php-sources. Now you can configure/compile
your php-executable with the new extension, as you would with all
other extensions.
</para>
</sect1>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->