Discover Centmin Mod today
Register Now

[Solved] imagick PHP Upgrade Error on CentOS 6

Discussion in 'Bug Reports' started by iaTa, Apr 30, 2019.

  1. iaTa

    iaTa Member

    94
    18
    8
    Mar 26, 2018
    Ratings:
    +36
    Local Time:
    6:32 AM
    Nginx 1.31.x
    MariaDB 10.11.x
    • CentOS Version: CentOS 6 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.15.12
    • PHP Version Installed: 7.3.4
    • MariaDB MySQL Version Installed: 10.1.38
    • When was last time updated Centmin Mod code base ? : Now
    • Persistent Config:
      Code (Text):
      NGXDYNAMIC_NGXPAGESPEED='y'
      NGINX_PAGESPEED='y'
      PHP_PGO_ALWAYS='y'
      PHP_PGO='y'
      PHP_PGO_CENTOSSIX='y'
      PHP_BROTLI='y'
      PHP_LZFOUR='y'
      PHP_LZF='y'
      PHP_ZSTD='y'
      PHPFINFO='y'
      LETSENCRYPT_DETECT='y'
      VHOSTCTRL_CLOUDFLAREINC='y'
      NGXDYNAMIC_BROTLI='y'
      NGINX_LIBBROTLI='y'
      NGINX_HPACK='y'
      NGINX_DYNAMICTLS='y'
      CLOUDFLARE_ZLIBPHP='y'
      CLOUDFLARE_PATCHSSL='y'
      OPENSSLECDSA_PATCH='y'
      OPENSSLECDHX_PATCH='y'
      ENABLE_MARIADBTENTWOUPGRADE='y'
      ENABLE_MARIADBTENTHREEUPGRADE='y'
      MARCH_TARGETNATIVE='n'
      
    Details of error:
    Code (Text):
    Enter option [ 1 - 24 ] 15
    --------------------------------------------------------
    Check for php extensions
    
    Check for ImageMagicK System Updates (YUM)
    Loaded plugins: fastestmirror, security
    Setting up Update Process
    Loading mirror speeds from cached hostfile
     * base: centos.mirror.constant.com
     * centos-sclo-rh: mirrors.advancedhosters.com
     * centos-sclo-sclo: mirror.jaleco.com
     * epel: fedora-epel.mirrors.tds.net
     * extras: mirror.es.its.nyu.edu
     * remi: mirror.team-cymru.com
     * updates: centos.mirror.constant.com
    No Packages marked for Update
    
    real    0m9.447s
    user    0m5.180s
    sys    0m0.598s
    
    Loaded plugins: fastestmirror, priorities, security, versionlock
    Error: Error: versionlock delete: no matches
    Loaded plugins: fastestmirror, priorities, security, versionlock
    Adding versionlock on: 0:ImageMagick6-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-devel-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-c++-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-c++-devel-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-libs-6.9.10.42-1.el6.remi
    versionlock added: 5
    
    *************************************************
    * Installing imagick PHP Extension
    *************************************************
    /usr/local/src/centminmod
    cd /svr-setup
    7.3
    0
    make: *** No rule to make target `clean'.  Stop.
    Configuring for:
    PHP Api Version:         20180731
    Zend Module Api No:      20180731
    Zend Extension Api No:   320180731
    configure.ac:3: error: Autoconf version 2.68 or higher is required
    configure.ac:3: the top level
    autom4te: /usr/bin/m4 failed with exit status: 63
    inc/imagick_install.inc: line 221: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    
    Copying imagick.ini > /etc/centminmod/php.d/imagick.ini
    
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    *************************************************
    * imagick PHP installed
    *************************************************


     
  2. eva2000

    eva2000 Administrator Staff Member

    59,340
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,143
    Local Time:
    3:32 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    strange PHP 7.3 routines should be triggering line 221 at all that is for PHP imagick routine for PHP versions below 7.0 but i think i found the bug and the fix for it :)

    just updated centmin mod 123.09beta01, so run cmupdate command to update your local code, then try centmin.sh menu option 15 again :)
     
  3. iaTa

    iaTa Member

    94
    18
    8
    Mar 26, 2018
    Ratings:
    +36
    Local Time:
    6:32 AM
    Nginx 1.31.x
    MariaDB 10.11.x
    No luck:
    Code (Text):
    Enter option [ 1 - 24 ] 15
    --------------------------------------------------------
    Check for php extensions
    
    Check for ImageMagicK System Updates (YUM)
    Loaded plugins: fastestmirror, security
    Setting up Update Process
    Loading mirror speeds from cached hostfile
     * base: centos.mirror.constant.com
     * centos-sclo-rh: mirrors.advancedhosters.com
     * centos-sclo-sclo: mirror.jaleco.com
     * epel: fedora-epel.mirrors.tds.net
     * extras: mirror.es.its.nyu.edu
     * remi: repo1.ash.innoscale.net
     * updates: centos.mirror.constant.com
    No Packages marked for Update
    
    real    0m17.351s
    user    0m5.383s
    sys    0m0.665s
    
    Loaded plugins: fastestmirror, priorities, security, versionlock
    Error: Error: versionlock delete: no matches
    Loaded plugins: fastestmirror, priorities, security, versionlock
    Adding versionlock on: 0:ImageMagick6-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-devel-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-c++-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-c++-devel-6.9.10.42-1.el6.remi
    Adding versionlock on: 0:ImageMagick6-libs-6.9.10.42-1.el6.remi
    versionlock added: 5
    
    *************************************************
    * Installing imagick PHP Extension
    *************************************************
    /usr/local/src/centminmod
    cd /svr-setup
    7.3
    0
    Initialized empty Git repository in /svr-setup/imagick-php7/.git/
    warning: Remote branch phpseven not found in upstream origin, using HEAD instead
    
    compiling imagick PHP extension for PHP 7.x ...
    make: *** No rule to make target `clean'.  Stop.
    Configuring for:
    PHP Api Version:         20180731
    Zend Module Api No:      20180731
    Zend Extension Api No:   320180731
    configure.ac:3: error: Autoconf version 2.68 or higher is required
    configure.ac:3: the top level
    autom4te: /usr/bin/m4 failed with exit status: 63
    inc/imagick_install.inc: line 209: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    
    Copying imagick.ini > /etc/centminmod/php.d/imagick.ini
    
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    *************************************************
    * imagick PHP installed
    *************************************************
     
  4. eva2000

    eva2000 Administrator Staff Member

    59,340
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,143
    Local Time:
    3:32 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    2nd attempt - updated centmin mod 123.09beta01, so run cmupdate command to update your local code, then try centmin.sh menu option 15 again :)
     
  5. iaTa

    iaTa Member

    94
    18
    8
    Mar 26, 2018
    Ratings:
    +36
    Local Time:
    6:32 AM
    Nginx 1.31.x
    MariaDB 10.11.x
    Bingo, all sorted.

    Thank you :)
     
  6. eva2000

    eva2000 Administrator Staff Member

    59,340
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,143
    Local Time:
    3:32 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Another bug squashed :D