Install PECL uploadprogress on Debian 8 Jessie with PHP 5

General Requirements for all OS

Specific Requirements for Debian 8 Jessie

In addition to the general requirements for all OS above, here are the specific requirements for Debian 8 Jessie with PHP 5:

Install PECL uploadprogress on Debian 7 Wheezy with PHP 5

Requirements

  • Debian Wheezy 7.x
  • Root access to your server. Usually VPS or dedicated servers comes with Root access. It will NOT work on share hosting without Root access. If unsure ask your host.
  • Drupal 7.x
  • PHP 5.4
  • Apache 2.x

Steps

 

Install PECL uploadprogress on Debian 6, Ubuntu 10.04, Ubuntu 12.04 LTS and 14.04 LTS

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

Subscribe with RSS Subscribe to RSS - downloadprogress