16
Mar
2012
BlueSnow

【Ubuntu】Install the PECL uploadprogress library on Ubuntu 10

# Install PHP developer package
sudo apt-get install php5-dev
 
# Install the pear library
sudo apt-get install php5-dev php-pear
 
# Install the PECL uploadprogress library
sudo pecl install uploadprogress
 
# Open php.ini and add the line "extension=uploadprogress.so"
sudo gedit /etc/php5/apache2/php.ini
 
# Restart apache:
sudo /etc/init.d/apache2 restart

Source: