Join the community today
Become a Member

Master Branch update inc/imagick_install.inc - versionlock ImageMagick6

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 14, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,562
    6,851
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,266
    Local Time:
    5:26 AM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/imagick_install.inc - versionlock ImageMagick6

    - imagick PHP extension installed via source compile is compiled against of the system installed ImageMagick6 yum packages provided by REMI yum repo. REMI yum repo ImageMagick6 is constantly updated via yum update. Which means imagick PHP extension can complain during php-fpm restarts or imagick PHP extension usage when yum update does update ImageMagick6 system packages. This usually requires 123.09beta01's centmin.sh menu option 15 run to recompile imagick PHP extension against the newly updated ImageMagick6 yum packages. Most folks new to Centmin Mod wouldn't know to run centmin.sh menu option 15 to fix this https://community.centminmod.com/threads/restarting-php-fpm-gives-a-php-warning.12539/#post-53164
    - the solution I committed now is to version lock ImageMagick6 system packages at initial Centmin Mod install time so that general manual or yum-cron initiated yum updates skip over ImageMagick6 yum updates so as to preserve the same version that imagick PHP extension was compiled against. Then only unlock the version lock when you subsequently run 123.09beta01's centmin.sh menu option 15 which will update ImageMagick6 system package + recompile imagick PHP extension and then re-lock the updated ImageMagick6 system version.

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.