php-fpm在命令行重启时出现如下提示信息在终端上,虽然不影响使用,但是不够干净利落,参考了一篇国外博客得以解决,参考链接:https://community.centminmod.com/threads/notice-php-message-php-warning-version-warning-imagick-was-compiled-against-image-magick-versio.2787/
报错:Starting php-fpm [18-Jun-2019 12:56:59] NOTICE: PHP message: PHP Warning: Version warning: Imagick was compiled against Image Magick version 1799 but version 1800 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
done
解决:参考了这篇国外的博客发现是imagick扩展的版本与imagemagick软件版本不符的问题,自己搭建时是先安装的扩展后安装的软件;于是先卸载该扩展,再重新安装该扩展。再重启php-fpm发现问题已解决.