Symptoms
When trying to enable the Imagick PHP extension for an Alt PHP version in CloudLinux, either from the "Select PHP Version" app in cPanel or using the command line, you encounter an error similar to the following.
WARN:imagick skipped as conflicting
Description
The error usually means that there is at least one conflicting PHP extension already enabled for the user, such as Gmagick.
Workaround
- Access the server's command line as the cPanel user via SSH or "Terminal" in cPanel.
- Disable the conflicting extension.
/usr/bin/selectorctl --disable-user-extensions=$extension --version=#.#
Please note that "$extension" and "#.#" must be replaced with the conflicting extension name and the PHP version. - Enable the
imagick
extension./usr/bin/selectorctl --enable-user-extensions=imagick --version=#.#
Please note that "#.#" must be replaced with the PHP version.
Comments
0 comments
Article is closed for comments.