Translations:Manual:LocalSettings.php/72/en

If you want to be able to resize images on the fly to support thumbnails, MediaWiki needs a working ImageMagick installation. Set $UseImageMagick to true once you have installed and tested ImageMagick on your system. Make sure $ImageMagickConvertCommand points to the proper location of the  command of your installation, that the command is executable by the web server process, and $MaxShellMemory is large enough. See for detailed information and trouble-shooting.