Issue
Customer request command for native (ea-php) ImageMagick installation.
Environment
- cPanel
- CloudLinux
Solution
- Find the binaries for PECL for all versions of PHP that you have installed:
find /opt/cpanel/ -iname pecl | grep bin
- Run this command for each version of EA-PHP that needs to make use of the extension:
/opt/cpanel/ea-php70/root/usr/bin/pecl install imagick
- On CloudLinux servers, CageFS needs to be updated after installing ImageMagick for EA-PHP. This is best done inside of a screen session:
screen -S updateCageFS
cagefsctl -u - If you are using LiteSpeed or the LSAPI handler with mod_lsapi, you may also need to restart detached PHP processes before you can make use of the extension. The following article outlines how this is done:
Restart LiteSpeed Detached PHP Processes
Useful links
Comments
0 comments
Please sign in to leave a comment.