Install uploadprogress in Ubuntu/Debian Server

                            Install uploadprogress in Ubuntu/Debian 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

Install the PECL uploadprogress library:
$ sudo pecl install uploadprogress

$ cd /etc/php5/apache2/conf.d
$sudo echo "extension=uploadprogress.so" > uploadprogress.ini

Restart apache:
$ sudo /etc/init.d/apache2 restart

Once you have done the above steps, you can find 'uploadprogress' in the phpinfo page.

That's it...

This entry was posted by Arun Ghosh. Bookmark the permalink.