From: Fabien Potencier Date: Sat, 3 Aug 2013 17:28:06 +0000 (+0200) Subject: added a note about how to use our PEAR channel to install the Twig C extension X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=6c5f966045496e93fba7cb1a5dbb3396ec741d33;p=web%2Fkonrad%2Ftwig.git added a note about how to use our PEAR channel to install the Twig C extension --- diff --git a/doc/intro.rst b/doc/intro.rst index bdcdb8a..68b3d23 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -80,7 +80,6 @@ Installing the PEAR package 2. ``pear channel-discover pear.twig-project.org`` 3. ``pear install twig/Twig`` (or ``pear install twig/Twig-beta``) - Installing the C extension ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -88,7 +87,15 @@ Installing the C extension The C extension was added in Twig 1.4. Twig comes with a C extension that enhances the performance of the Twig -runtime engine. You can install it like any other PHP extension: +runtime engine. + +You can install it via PEAR: + +1. Install PEAR +2. ``pear channel-discover pear.twig-project.org`` +3. ``pear install twig/CTwig`` (or ``pear install twig/CTwig-beta``) + +Or manually like any other PHP extension: .. code-block:: bash