linuxSyndicate content

Howto install PECL uploadprogress indicator for Drupal on Ubuntu 9.04 (Jaunty)

by Adrian 18th Jul, 2009 @ 21:25

I installed the PECL uploadprogress PHP extension on my Debian Lenny development server for the Drupal filefield module just before Psynaptic's excellent roundup of how it install it on just about everything. But it turns out to be a lot easier on the Ubuntu 9.04 (Jaunty) development server I'm switching too:

sudo aptitude install php5-dev php-pear
sudo pecl install uploadprogress

Then add the "extension=uploadprogress.so" to your php.ini, in my case I'm using a local ini file rather than modifying the apt supplied php.ini:

sudo nano /etc/php5/conf.d/local.ini

Reload the Apache config and you're done.