installing PECL uploadprogress


why do this:

OS: ubuntu-10.04.3-server

Install the PHP developer package for the version of PHP you’re using. For example, in case of php5 run:

$ sudo apt-get install php5-dev php-pear

Configure uploadprogress extension to php

$sudo vi /etc/php5/apache2/conf.d/uploadprogress.ini

add this line:

Install the PECL uploadprogress library:

$ sudo pecl install uploadprogress

Restart apache:

$ sudo service apache2 restart


comments powered by Disqus