Configurations
As the title states, I've installed the module under 3 system configurations :
- Debian 6 / PHP 5.3 / Virtualmin on a private server
- Ubuntu 10.04 LTS / PHP 5.3 on a development workstation
- Ubuntu 12.04 LTS / PHP 5.4 on a development workstation
Installation
Downloadprogress beind installed by PECL, the first step is to install pecl. In both distributions it's included in the php-pear package. So :
sudo apt-get install php-pear
In the two operational configurations, the package was already installed ; as a basic component in the Ubuntu WS and as part of Virtualmin auto-installation on the Debian server.
At this stage, pecl is installed but it will need to compile the downloadprogress module as a step of the installation process. So more resources are needed before pecl can be invoked.
sudo apt-get install php5-dev
Accept the required dependeces and let apt-get do it's job.
Ubuntu 12.04 (LTS): build-essential
is another required package, otherwise the install will fail:
sudo apt-get install build-essential
Then pecl can be invoked :
sudo pecl install uploadprogress