[Mediawiki-l] Images and thumbs in PHP safe mode

Morten Blaabjerg crewscut at mail.dk
Mon Dec 20 11:36:01 UTC 2004


Thanx, man! - it worked like a charm!
Morten :-)

Brion Vibber wrote:

> On Dec 19, 2004, at 4:11 PM, Morten Blaabjerg wrote:
> > Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> > /customers/crewscut.com/crewscut.com/httpd.www/includes/Image.php on
> > line 246
>
> It's trying to use ImageMagick to resize images, but you aren't allowed
> to shell out to external programs.
>
> If your PHP installation has GD library support, you can use that:
> comment out the $wgUseImageMagick line in LocalSettings.php and it will
> fall back to that.
>
> If you don't have GD library support, then you're out of luck.
>
> -- brion vibber (brion @ pobox.com)
>
>   ------------------------------------------------------------------------
>



More information about the MediaWiki-l mailing list