How to install PECL uploadprogress w/ PHP 7 support

Original uploadprogress doesn't seem to be developed any longer, and hence doesn't support PHP 7. However, there's a PHP 7 compatible version we can use:

cd /usr/local/src/
git clone https://github.com/Jan-E/uploadprogress.git
cd uploadprogress
phpize
./configure
make
make install

Now add the extension to your php.ini

vi /usr/local/lib/php.ini

Add the following to your extensions section:

extension=uploadprogress.so

Restart apache

service httpd restart

Here are additional steps you may need to take: https://www.drupal.org/node/2718253#comment-11159883

Or if you are using PHP 5.X:

wget http://pecl.php.net/get/uploadprogress
tar xvfz uploadprogress-VERSION.tgz
cd uploadprogress-VERSION
phpize           
./configure
make
make install

Add the following to your extensions section:

extension=uploadprogress.so

Restart apache

service httpd restart
Tags: Drupal linux server media