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.
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 |
---|---|
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.