Error creating thumbnail: Unable to run external programs in safe mode

by Alex Benko, 2by2host
2011-01-11 18:12:18

How to fix - MediaWiki Error creating thumbnail: Unable to run external programs in safe mode

This issue happens when Image Magic is enabled. The easiest way to fix it, is to find your LocalSetting.php file and comment out the following lines:

# $wgUseImageMagick = true;

# $wgImageMagickConvertCommand = "/usr/bin/convert";

Commenting out the "wgUseImageMagic" line will enable thumbnails for the newly uploaded images. Nice and simple!

There are a lot of subtleties in MediaWiki's configuration. We are here to assist you. Two of our hosting plans have been recommended for MediaWiki. They are our managed shared hosting for somebody who needs us to manage their MediaWiki site or GoEasy plan for somebody who will run everything on their own. This fulfills all your needs when you're looking for the best MediaWiki web hosting.