To install the PECL package uploadprogress on CentOS, we do:
- Yum up some packages:
# yum install php-pear php-devel httpd-devel
- Install uploadprogress through PEAR:
# pear install pecl/uploadprogress
- Tell PHP to load uploadprogress:
# echo extension=uploadprogress.so > /etc/php.d/uploadprogress.ini
- Restart Apache:
# /sbin/service httpd graceful