|
Chapter 5. Installation of PECL extensionsTable of Contents » PECL is a repository of PHP extensions that are made available to you via the » PEAR packaging system. This section of the manual is intended to demonstrate how to obtain and install PECL extensions.
These instructions assume
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 extension directive. To this When building PHP modules, it's important to have known-good versions of the required tools (autoconf, automake, libtool, etc.) See the » Anonymous CVS Instructions for details on the required tools, and required versions. Code Examples / Notes » install.peclrbemrose
If you are using a Debian sarge system (currently the stable release) with php4-pear installed, you will still not have a pecl command. The fix to this is to upgrade pear. Unfortunately, pear upgrade PEAR will also error out stating that you need pear-1.3.3 minimum. The fix to this is to specify the version of pear that you want to install. In case it wasn't obvious, that means you want to pear upgrade PEAR-1.3.3 pear upgrade-all |