Install PECL Upload Progress for Drupal

Install PECL upload progress on in an Apache running Debian based hosting environments for the purposes of using for the Drupal content management system or for other PHP based platforms.

Admin reports page Upload progress not enabled

Installing and configuring Upload Progress is entirely optional with Drupal, however it does provide for a more apparent way to display the progress of files that are being uploaded to your website.

With Upload Progress:Without Upload Progress
With Upload Progress Without Upload Progress

Install Dependency Packages for PECL

$ sudo apt-get install php5-dev php-pear build-essential -y

Install the upload progress extension

$ sudo pecl install uploadprogress

Configure Apache to use PECL UploadProgress

$ sudo nano /etc/php5/apache2/php.ini

Scroll Down to the bottom of the file (Ctrl + V), and add the following two lines to the bottom of of the file.

; PECL uploadprogress
extension=uploadprogress.so

Save and Exit (Ctrl + X)

Reload Apache to load new settings

$ sudo service apache2 reload

Refresh the Status page to confirm that Upload progress is enabled.

Admin reports page with Upload progress enabled

About the author

Will works as a technical lead for Kanopi Studios and provides Drupal support for a wide range of amazing projects. He current resides in South Carolina along with his wife, son and two dogs. When not working on tech projects, Will enjoys spending time with family and photographing the stars.