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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T3833, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1833 - Installation doesn't detect ImageMagick on Windows platform
Installation doesn't detect ImageMagick on Windows platform
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
PC Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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:
/config/index.php
approximate line: 304
add imagemagick installation directory *should be installed in a directory w/o
spaces
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;
		break;
	}
}
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.


Navigation
Links