Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch add optional ImageMagick7 7.1 support in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 20, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    58,900
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:11 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add optional ImageMagick7 7.1 support in 140.00beta01


    - add optional ImageMagick7 7.1 support via variable IMAGEMAGICK_SEVEN which defaults to disabled, IMAGEMAGICK_SEVEN='n'.
    - to enable on 140.00beta01, run cmupdate to get update and then set to IMAGEMAGICK_SEVEN='y' in the persistent config file /etc/centminmod/custom_config.inc before running centmin.sh menu option 5 to recompile PHP-FPM with ImageMagick7 7.1 and PHP imagick extension
    - setting it to IMAGEMAGICK_SEVEN='n' or removing entry from the persistent config file /etc/centminmod/custom_config.inc before running centmin.sh menu option 5 to recompile PHP-FPM, will switch back to ImageMagick 6.9.x

    Continue reading...

    140.00beta01 branch
     
  2. Rhodium

    Rhodium New Member

    26
    6
    3
    Jul 1, 2020
    Ratings:
    +11
    Local Time:
    4:11 PM
    I have this error now compiling php with and without flag in Almalinux9:


    Code:
    zip_stream.c:(.text+0x568): undefined reference to `zip_file_is_seekable'
    /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: ext/zip/zip_stream.o: in function `php_stream_zip_open':
    zip_stream.c:(.text+0x69c): undefined reference to `zip_file_is_seekable'
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:321: sapi/cli/php] Error 1
    make: *** Waiting for unfinished jobs....
    /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: ext/zip/zip_stream.o: in function `php_stream_zip_opener':
    zip_stream.c:(.text+0x568): undefined reference to `zip_file_is_seekable'
    /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: ext/zip/zip_stream.o: in function `php_stream_zip_open':
    zip_stream.c:(.text+0x69c): undefined reference to `zip_file_is_seekable'
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:333: sapi/fpm/php-fpm] Error 1
    
    I will upload the full log
     
    Last edited: Oct 20, 2024
  3. Rhodium

    Rhodium New Member

    26
    6
    3
    Jul 1, 2020
    Ratings:
    +11
    Local Time:
    4:11 PM
    This is the full log: centminmod-log20241020

    I can compile php again if i put this in /etc/centminmod/custom_config.inc
    PHP_EXTRAOPTS='--with-libzip=/opt/remi/libzip/lib64/'