You are here

How to install PECL uploadprogress on FreeBSD

You need this PECL extension to be installed if you would like to see an upload progress indicator in Drupal. Installation is easy, but not obvious.

[geshifilter-blockcode]cd /tmp # Substitute the latest version from http://pecl.php.net/package/uploadprogress fetch http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz tar xf uploadprogress-1.0.3.1.tgz cd uploadprogress-1.0.3.1 phpize ./configure make build install echo "extension=uploadprogress.so" >> /usr/local/etc/php/extensions.ini cd /tmp rm -R uploadprogress-1.0.3.1[/geshifilter-blockcode]

Comments

It's pretty obvious if you do it the FreeBSD way:

cd /usr/ports/devel/pecl-uploadprogress/ && make install clean

Or use pkg:
pkg install devel/pecl-uploadprogress

Your method is hackish

Thanks, I couldn't find that port.

Pages

Add new comment

Simple Copyright Policy: If you want to reproduce anything on this site, get my permission first.