Installing pecl uploadprogress

Download latest software from

http://pecl.php.net/package/uploadprogress

Install

cd /usr/local/src
wget http://pecl.php.net/get/uploadprogress
tar -zxvf uploadprogress-*.tgz
cd uploadprogress-*
phpize
./configure
make
make install

make install will show

# make install
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
#

There will be line with the above path in php.ini

Edit php.ini file and add

extension = "uploadprogress.so"

Below the line

extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"

Now php -m will list uploadprogressbar as a module

Now restart web server

service httpd restart

You will see following in phpinfo page


pecl_uploadprogress


Posted in Installation