How to install PECL uploadprogress library for Drupal 7 on Debian


I'm using Debian 7 on a LAMP server running Debian 6 squeeze. When I check my Status Report page it says that the Upload progress feature is not enabled because of this error:

Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.

How can I enable the PECL upload progress feature on Debian?


You didn't mention if you're running Drupal on a shared hosting server or virtual private server or a dedicated server.

I assume you run either a virtual private server or a dedicated server and have access to the packaging system on Debian and can install new packages because it will be required to configure PECL upload progress on your system.

If you're on a shared hosting e.g. with GoDaddy and PECL is not enabled on your server then probably you won't be able to enable this feature.

Run these commands as root or sudo before each command. In order to enable PECL on Debian squeeze correctly the following packages need to be installed:

apt-get install make php5-dev php-pear pecl install uploadprogress

Now add "" to your php.ini:

echo -e "" > /etc/php5/conf.d/uploadprogress.ini

After the packages are intalled and configured reload Apache configuration:


Now check your Report Status to confirm if PECL upload progress has been enabled correctly.