-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Daniel Flaum wrote:
MediaWiki and ImageMagick are both installed and usable, however, MediaWiki can't use ImageMagick to make thumbnails because it doesn't have permission to execute convert. This is on an OS X system, from inside an administrator account. Anybody got any ideas?
Unless you've done something really weird the most likely possibilities here are:
1) convert is not in the PATH that the web server sees. For instance, if you install ImageMagick in /sw/bin or /opt/local/bin (fink or MacPorts, respectively), this is NOT in the default system PATH variable at startup -- it'll probably have been added to your *user* shell, but Apache won't see it when started on boot.
You can easily work around this by adding it to the path in your LocalSettings.php, something like:
putenv("PATH=" . getenv("PATH") . ":/opt/local/bin");
2) General file permissions on the image directories causing a failure to be able to create the thumbnail images. Double-check the file and directory ownership and permissions in your 'images' dir here.
- -- brion