I've built PHP 7.4 from source, and installed ImageMagick via yum.
When I run
convert --version
i got Version: ImageMagick 6.9.10-68 Q16 x86_64 2021-02-24
Then I ran pecl install imagick
and it says
Build process completed successfully. Installing '/usr/lib64/php/modules/imagick.so'
I've also added extension=imagick.so
to my /usr/local/php/lib/php.ini
file & restarted Apache.
When I run php -m | grep imagick
it returns imagick
, but when I view the phpinfo() page, it's not there. I've confirmed my php-cli & phpinfo() are reading the same php.ini file from /usr/local/php/lib/php.ini
.
Here are some screen shots:
What am I missing?
0 Answers