HostOnNet Blog

Installing pecl uploadprogress

Looking for Linux Server Admin or WordPress Expert? We can help.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.