Upload progress PECL uploadprogress library
In my Drupal status report I get the following message:
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
So I decided to enable this on my Fedora server (same for CentOS), since I will probably need to do this on more servers, here are the steps it takes:
# yum install php-devel
# pecl install uploadprogress
if you get: pecl: command not found then you will need to run:
# yum install pear
Note: I found out this did not work because the name is now php-pear so use:
# yum install php-pear
Now you can finally run the command you need:
# pecl install uploadprogress
Note: if you get the error configure: error: no acceptable C compiler found
# yum install gcc
Add this line to /etc/php.ini
vi /etc/php.ini
insert extension=uploadprogress.so
And of course you will need to restart apache to make it take affect:
# /etc/init.d/httpd restart