PHP 5.4.33 Released

Downloading PECL extensions

There are several options for downloading PECL extensions, such as:

  • The pecl install extname command downloads the extensions code automatically, so in this case there is no need for a separate download.
  • » http://pecl.php.net/ The PECL web site contains information about the different extensions that are offered by the PHP Development Team. The information available here includes: ChangeLog, release notes, requirements and other similar details.
  • pecl download extname PECL extensions that have releases listed on the PECL web site are available for download and installation using the » pecl command. Specific revisions may also be specified.
  • SVN Most PECL extensions also reside in SVN. A web-based view may be seen at » http://svn.php.net/viewvc/pecl/. To download straight from SVN, the following sequence of commands may be used:


    $ svn checkout http://svn.php.net/repository/pecl/extname/trunk extname

  • Windows downloads At this time the PHP project does not compile Windows binaries for PECL extensions. However, to compile PHP under Windows see the chapter titled building PHP for Windows.
add a note add a note

User Contributed Notes 3 notes

up
0
jeremy dot crombez at gmail dot com
2 years ago
On Debian Squeeze, you can simply do :

aptitude install libssh2-php
up
-1
cweiske at php dot net
5 years ago
When using "pecl install package", you might run into a memory limit problem. Solution is to use "pear install pecl/$extensionname" since it uses php.ini's memory limit.

See also:
- http://pear.php.net/bugs/bug.php?id=15107
- http://aspn.activestate.com/ASPN/Mail/Message/pear-dev/3168978
up
-4
mleer at clingendael dot nl
5 years ago
If you get "pear.php.net is using a unsupported protocal" [sic!] do:
cd /usr/local/lib/php
rm -r .channels
pear update-channels
To Top