Skip to main content

How to install PECL uploadprogress

On Linux server:

  1. # cd /usr/local/src/
  2. get the latest version http://pecl.php.net/package/uploadprogress
  3. # tar xvfz uploadprogress-VERSION.tgz
  4. # cd uploadprogress-VERSION
  5. # export PHP_PREFIX="/usr/local"
    # $PHP_PREFIX/bin/phpize          
    # ./configure
    # make
    # make install
  6. open your php.ini
    e.g.
    # vi /usr/local/lib/php.ini

    add the line you received followed by "uploadprogress.so":

    extension=/usr/local/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so
  7. # service httpd restart

Post new comment

The content of this field is kept private and will not be shown publicly.