Differences
This shows you the differences between two versions of the page.
— |
cpanel:howto-install-imagemagick-php-extensions [2020-02-13 19:59:18] (current) shaun.reitan created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Howto Install ImageMagick PHP extensions on your cPanel server ====== | ||
+ | |||
+ | We will show you how to install and enable the ImageMagick PHP extensions for all versions of PHP installed on your server. | ||
+ | |||
+ | ===== Install using the command line ===== | ||
+ | Log into the command line of your server as the user root and run the following commands. | ||
+ | |||
+ | < | ||
+ | yum -y install ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl | ||
+ | |||
+ | for php in $(whmapi1 php_get_installed_versions|grep -oE ' | ||
+ | / | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | ===== Install using the Web Host Manager ===== | ||
+ | - Login to the WebHostManager as the user root. | ||
+ | - Click ' | ||
+ | - Click ' | ||
+ | - Select the PHP version from the dropdown that you would like to install ImageMagick on and click ' | ||
+ | - enter ' | ||
+ | - You should now see the ' | ||
+ | |||
+ | ImageMagick has now been installed for the PHP version you selected. | ||
+ | |||