Archive for the tag 'PECL'

Options for 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

SBDavid

PECL upload progress extension

PECL upload progress extension

Summary An extension to track progress of a file upload.

Download from – http://pecl.php.net/package/uploadprogress

http://pecl.php.net/get/uploadprogress-1.0.1.tgz

Extract the uploadprogress-1.0.1.tgz archive

$ phpize
$ ./configure
$ make
$ sudo make install

Add the extension to php.ini by adding this line extension=uploadprogress.so

Restart apache

/etc/init.d/httpd restart