How to install uploadprogress php extension for PHP7 supplied by Plesk?

Created:

2017-05-09 22:21:55 UTC

Modified:

2017-08-08 13:25:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to install uploadprogress php extension for PHP7 supplied by Plesk?

Questions

How to install `uploadprogress` php extension for PHP7 supplied by Plesk?

Answer

  • For CentOS:

    Follow the mentioned commands:

    # mkdir upload_progress_tmp
    # cd upload_progress_tmp/
    # git clone https://github.com/Jan-E/uploadprogress
    # cd uploadprogress/
    # /opt/plesk/php/7.1/bin/phpize
    # ./configure --with-php-config=/opt/plesk/php/7.1/bin/php-config
    # make -j8
    # make -j8 install
    # echo "extension=uploadprogress.so" > /opt/plesk/php/7.1/etc/php.d/uploadprogress.ini

    Check the results via the following conmmand:

    # /opt/plesk/php/7.1/bin/php -m | grep uploadprogress
    uploadprogress
Have more questions? Submit a request
Please sign in to leave a comment.