Install PHP PECL uploadprogress

Linux specific questions/information are gathered here. The main thrust of topics are applied to Centos/RedHat(RH)/Debian/Ubuntu/Gentoo distributives

Install PHP PECL uploadprogress

Postby lik » Thu Aug 12, 2010 10:35 pm

PECL uploadprogress page

Code: Select all
wget "http://pecl.php.net/get/uploadprogress"
tar xzvf uploadprogress
rm -f uploadprogress
cd uploadprogress*
phpize
./configure
make
make install

If everything is going well, you will see last message as bellow:
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

Now, locate your PHP configuration file:
Code: Select all
php -i|grep php.ini

And include uploadprogress extention support:
Code: Select all
extension="uploadprogress.so"

Restart webserver and check phpinfo() output. This also can be done from the console:
Code: Select all
php -i|grep -i uploadprogress

or
Code: Select all
php -m
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to Linux specific

 


  • Related topics
    Replies
    Views
    Last post
cron