[Mediawiki-l] Needed help regd thumbnail images

Rob Church robchur at gmail.com
Fri Aug 24 05:37:45 UTC 2007


On 24/08/07, priya navaneethan <priya.navaneethan at gmail.com> wrote:
> *Warning: exec() [function.exec ]: Unable to fork [""C:\Program
> Files\ImageMagick-6.3.5-Q16\convert" -quality 80 -background white -size 180
> "E:\Wiki\mediawiki-1.7.1/images/e/e4/EagletonTripPic2.JPG" -coalesce -resize
> "180x135!" -depth 8 "E:\Wiki\mediawiki- 1.7.1
> /images/thumb/e/e4/EagletonTripPic2.JPG/180px-EagletonTripPic2.JPG" 2>&1"]
> in E:\Wiki\mediawiki-1.7.1\includes\GlobalFunctions.php on line 1719*"

Are you using IIS, or another web server running under a locked-down
account? http://uk3.php.net/manual/en/ref.exec.php#64534 suggests that
this error is typically due to a lack of permissions on the part of
that user to run the desired executable.

You may need to grant read and execute permissions on the ImageMagick
executable(s) [at least convert.exe] to whichever user this is, e.g.
IUSR_xxx, and possibly also to cmd.exe.

(This problem does not usually manifest for, e.g. Apache users running
the software as a service, simply because the default is to run the
service as "Local System", which is somewhat akin to running it as
root. I leave the wisdom of that to another debate...)


Rob Church



More information about the MediaWiki-l mailing list