Having trouble installing PECL uploadprogress? I was...I followed every bit advice to the letter and nothing seemed to help. The installation appeared to install correctly and without any errors. Yet uploadprogress would not show up on any php_info() commands. Also, under Reports in Drupal 7, it didn't say it was enabled and kept recommending to install it. Even upon a re-install, PECL said it was already installed thus it failed. I finally found a solution, and might I say; it was simple.
If you are using LAMP try this:
apt-get install php5-dev
Configuration, compilation and installation is done completely automatically with the command:
pecl install uploadprogress
After a few seconds the result should look like:
Build process completed successfully Installing '/usr/lib/php5/20060613/uploadprogress.so' install ok: channel://pecl.php.net/uploadprogress-1.0.1 configuration option "php_ini" is not set to php.ini location You should add "extension=uploadprogress.so" to php.ini
Add the following line to your php.ini:
extension="uploadprogress.so"Every other guide will give you this same formula above. Sometimes in more detail with a full make, and sometimes fewer details. At this point this should be working for you. It wasn't for me. The key ingredient was this:
Create a file at the following location:
Add the lines and save the file:
; Configuration of uploadprogress extension=uploadprogress.so
service apache2 reload
Hope this helps. Let me know!