Last modified: 2011-03-13 18:05:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1833 - Installation doesn't detect ImageMagick on Windows platform
Installation doesn't detect ImageMagick on Windows platform
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-04-06 14:21 UTC by John Wetsell
Modified: 2011-03-13 18:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description John Wetsell 2005-04-06 14:21:12 UTC
Running WIMP (Windows XP Pro, IIS 5.1, MySql 4.1.3, PHP 4.3.11). Installation of
MediaWiki 1.4.0 does not correctly detect ImageMagick as the directories it
searches for are 'unix', also it is looking for a command called 'convert'. 

Work around:
approximate line: 304
add imagemagick installation directory *should be installed in a directory w/o
add .exe extension on to convert

$conf->ImageMagick = false;
$imcheck = array( "/usr/bin", "/usr/local/bin", "/sw/bin", "/opt/local/bin",
"C:/ImageMagick-5.5.7-Q16", "/ImageMagick-5.5.7-Q16" );
foreach( $imcheck as $dir ) {
	$im = "$dir/convert.exe";
	if( file_exists( $im ) ) {
		print "<li>Found ImageMagick: <tt>$im</tt>; image thumbnailing will be enabled
if you enable uploads.</li>\n";
		$conf->ImageMagick = $im;
Comment 1 Antoine "hashar" Musso (WMF) 2005-08-31 14:56:15 UTC
"C:/ImageMagick-5.5.7-Q16" is version dependant, so it will still not
be found. It would be possible if imagemagick installed itself under
a version independant path such as c:\ImageMagick\ .

Windows users would have to enter the correct path manually.

Note You need to log in before you can comment on or make changes to this bug.