PECL uploadprogress

Script
PHP 5.4, uploadprogress 1.0.3.1

export PATH=/usr/local/php54/bin:$PATH wget http://pecl.php.net/get/uploadprogress -O uploadprogress-1.0.3.1.tgz tar -zxvf uploadprogress-1.0.3.1.tgz cd uploadprogress-1.0.3.1 phpize ./configure --with-php-config=/usr/local/php54/bin/php-config make mkdir -p $HOME/.php/5.4 cp ./modules/uploadprogress.so $HOME/.php/5.4/ echo "extension = $HOME/.php/5.4/uploadprogress.so" > $HOME/.php/5.4/phprc killall php54.cgi
 * 1) !/bin/sh