uploadprogress.so settings

  • Hello,


    I would like to ask for your help in connection with uploadprogress.so settings.


    I found a description about problem:
    https://www.drupal.org/node/2549141


    Steps:
    #apt-get install make php5-dev php-pear
    #pecl install uploadprogress


    Code
    1. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/uploadprogress.so' - /usr/lib/php/20131226/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0pecl/uploadprogress is already installed and is the same as the released version 1.0.3.1install failed


    #echo -e "extension=uploadprogress.so" > /etc/php/5.6/mods-available/uploadprogress.ini
    #service apache2 restart


    Unfortunately uploadprogress.so don't working properly :(


    What could be the problem, What should I change the setting?


    #php -i | grep ini

    System is Debian 8.8


    Thx.


    Robert

  • I would like to ask for your help in connection with uploadprogress.so settings.

    We are not a school and you're posting in wrong section. Your question is not i-MSCP related.


    Steps:
    #apt-get install make php5-dev php-pear
    #pecl install uploadprogress


    So basically, you want to install the uploadprogress extension. You're using php5.6 from Ondrey Sury repository (expected with i-MSCP) but you've installed the php5-dev package instead of the php5.6-dev package.


    You should avoid copying commands that you can find through google without further thinking because by installing the php5-dev package you have also installed a PHP version from Debian repository while i-MSCP support PHP versions from Ondrey Sury repository only.


    Please, give us the result of the following commands:


    Shell-Script
    1. # ls /usr/lib/php/20*


    Shell-Script
    1. # ls /usr/lib/php5/20*

    Thread moved.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    account_detailed.gif

  • Ups...Thx!


    I think other person would still install Drupal in your system.


    I checked more description, I did not notice that difference "php5-dev" between "php5.6-dev".


    Steps:
    #pecl uninstall uploadprogress
    #apt-get purge make php5-dev php-pear
    #apt-get install make php-pear php5.6-dev
    #pecl install uploadprogress

  • @kalmarr


    So, problem solved?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    account_detailed.gif

  • I think yes, but it not :(


    Drupal screenshot:


    I don't understand what is the problem. :(



    PHP info: https://usis.me/php.php


    # ls /usr/lib/php/20*


    Code
    1. drwxr-xr-x 2 root root 4,0K aug 21 15:22 build-rw-r--r-- 1 root root 36K aug 4 12:05 calendar.so-rw-r--r-- 1 root root 15K aug 4 12:05 ctype.so-rw-r--r-- 1 root root 95K aug 4 12:05 curl.so-rw-r--r-- 1 root root 203K aug 4 12:05 dom.so-rw-r--r-- 1 root root 67K aug 4 12:05 exif.so-rw-r--r-- 1 root root 2,8M aug 4 12:05 fileinfo.so-rw-r--r-- 1 root root 59K aug 4 12:05 ftp.so-rw-r--r-- 1 root root 115K aug 4 12:05 gd.so-rw-r--r-- 1 root root 15K aug 4 12:05 gettext.so-rw-r--r-- 1 root root 47K aug 4 12:05 iconv.so-rw-r--r-- 1 root root 51K márc 15 15:19 igbinary.so-rw-r--r-- 1 root root 107K aug 4 12:05 imap.so-rw-r--r-- 1 root root 406K aug 4 12:05 intl.so-rw-r--r-- 1 root root 47K aug 4 12:05 json.so-rw-r--r-- 1 root root 1,5M aug 4 12:05 mbstring.so-rw-r--r-- 1 root root 51K aug 4 12:05 mcrypt.so-rw-r--r-- 1 root root 105K márc 15 15:18 memcached.so-rw-r--r-- 1 root root 99K márc 15 15:18 msgpack.so-rw-r--r-- 1 root root 147K aug 4 12:05 mysqli.so-rw-r--r-- 1 root root 278K aug 4 12:05 mysqlnd.so-rw-r--r-- 1 root root 55K aug 4 12:05 mysql.so-rw-r--r-- 1 root root 155K aug 4 12:05 opcache.so-rw-r--r-- 1 root root 35K aug 4 12:05 pdo_mysql.so-rw-r--r-- 1 root root 119K aug 4 12:05 pdo.so-rw-r--r-- 1 root root 277K aug 4 12:05 phar.so-rw-r--r-- 1 root root 35K aug 4 12:05 posix.so-rw-r--r-- 1 root root 23K aug 4 12:05 pspell.so-rw-r--r-- 1 root root 2,1M aug 4 12:05 readline.so-rw-r--r-- 1 root root 15K aug 4 12:05 shmop.so-rw-r--r-- 1 root root 55K aug 4 12:05 simplexml.so-rw-r--r-- 1 root root 95K aug 4 12:05 sockets.so-rw-r--r-- 1 root root 19K aug 4 12:05 sysvmsg.so-rw-r--r-- 1 root root 11K aug 4 12:05 sysvsem.so-rw-r--r-- 1 root root 15K aug 4 12:05 sysvshm.so-rw-r--r-- 1 root root 23K aug 4 12:05 tokenizer.so-rw-r--r-- 1 root root 55K aug 21 15:22 uploadprogress.so-rw-r--r-- 1 root root 39K aug 4 12:05 wddx.so-rw-r--r-- 1 root root 35K aug 4 12:05 xmlreader.so-rw-r--r-- 1 root root 55K aug 4 12:05 xml.so-rw-r--r-- 1 root root 47K aug 4 12:05 xmlwriter.so-rw-r--r-- 1 root root 39K aug 4 12:05 xsl.so-rw-r--r-- 1 root root 63K aug 4 12:05 zip.so/usr/lib/php/20151012:összesen 232K-rw-r--r-- 1 root root 55K márc 15 15:19 igbinary.so-rw-r--r-- 1 root root 105K márc 15 15:18 memcached.so-rw-r--r-- 1 root root 67K márc 15 15:18 msgpack.so/usr/lib/php/20160303:összesen 236K-rw-r--r-- 1 root root 55K márc 15 15:19 igbinary.so-rw-r--r-- 1 root root 109K márc 15 15:18 memcached.so-rw-r--r-- 1 root root 67K márc 15 15:18 msgpack.so





    # ls /usr/lib/php5/20*


    Code
    1. -rw-r--r-- 1 root root 106K okt 25 2014 memcached.so-rw-r--r-- 1 root root 270K jún 28 12:10 memcache.so-rw-r--r-- 1 root root 157K febr 8 2017 opcache.so-rw-r--r-- 1 root root 116K febr 8 2017 pdo.so


    New status:
    # php -i | grep ini



  • @kalmarr


    Try to nstall the package from ondrey sury repository instead of installing it yourself: apt-get install php-uploadprogress


    Once done, make sure that the module is enabled: phpenmod uploadprogress.


    But first, remove the one you installed manually.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    account_detailed.gif

  • @kalmarr


    I cannot help more on this suject because I'm too much busy at this moment. I'll have a look when I'll be a less busy.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    account_detailed.gif