Talk:Safe mode

From MediaWiki.org
Jump to navigation Jump to search

How to thumbnail while safe mode is enabled?[edit]

I really need some info abouht thumbnailing (ImageMagick/svg) with safe-mode enabled. Could anyone provide it? Thanks in advance.

In safe mode, you can only run programs located in the directory designated by PHP's safe_mode_exec_dir directive [1]. So, ImageMagic's convert program needs to be in that directory, and any svg converter you want to use too. It's highly recommended not to use ImageMagick for rendering SVG by the way - it simply sucks at that. Use rsvg instead.
Anyway, tell your host that safemode will go away in PHP6, so they should look into an alternative security model. -- Duesentrieb 07:28, 27 August 2008 (UTC)