Project

General

Profile

Actions

Bug #24520

closed

ImageMagick / GraphicsMagick does not run on every system

Added by Sven Weiss over 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

I have a very hardened hosting system and I could not get IM / GM wanted to run. I had to modify the class.t3lib_div.php in the function imageMagickCommand(). I removed the 2 escapeshellarg() around the commands and voila... IM / GM runs.

First I wanted to know why there are the 2 escapeshellarg() and if we/you can remove them?

PHP Version 5.2.6-1+lenny8
CGI/FastCGI
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

safe_mode=one
safe_mode_exec_dir set

(issue imported from #M16974)

Actions

Also available in: Atom PDF