If it's not running for you even PEAR installed try to make an upgrade of PEAR (pear upgrade PEAR).
Installation of PECL extensions
Cuprins
- Downloading PECL extensions
- PECL for Windows users
- Compiling shared PECL extensions with the pecl command
- Compiling shared PECL extensions with phpize
- Compiling PECL extensions statically into PHP
Introduction to PECL Installations
» 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 /your/phpsrcdir/ is the path to the PHP source distribution, and that extname is the name of the PECL extension. Adjust accordingly. These instructions also assume a familiarity with the » pear command. The information in the PEAR manual for the pear command also applies to the pecl command.
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 php.ini file, or through the use of the dl() function.
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.
Installation of PECL extensions
04-Jun-2008 10:52
17-Mar-2007 07:04
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
