[TYPO3-linux] ImageMagick Problems - exec() disabled

Sandy Matheson lists at mathesonuk.com
Mon Feb 5 22:20:39 CET 2007


Hi,

I am installing Typo3 at a new host who say they support Typo3 - but I
can't get ImageMagick to work.

ImageMagick is installed OK and if I run /usr/bin/convert -version
I get the response:
Version: ImageMagick 6.0.7 08/28/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC

But in the install tool when I access the Basic Configuration I get
the error:
Warning: exec() has been disabled for security reasons in
/home/bellasbo/public_html/typo3_src-4.0.4/typo3/sysext/install/mod/class.tx_install.php
on line 1915

I also get the warning;
Functions disabled!
disable_functions=passthru,popen,system,proc_terminate,proc_close,chown,dl,proc_open,wget,php_uname,exec,shell_exec
The above list of functions are disabled. If TYPO3 use any of these
there might be trouble.
TYPO3 is designed to use the default set of PHP4.0.6+ functions plus
the functions from GDLib.
Possibly these functions are disabled due to security risks and most
likely the list would include a function like exec() which is use by
TYPO3 to access ImageMagick.

phpinfo also reports:
disable_functions
passthru,popen,system,proc_terminate,proc_close,chown,dl,proc_open,wget,php_uname,exec,shell_exec
safe_mode		Off
safe_mode_exec_dir	no value
safe_mode_gid		Off
safe_mode_include_dir	no value

Is it possible to use ImageMagick with exec() disabled? Is there any
workaround can I use?

Many thanks for any help,

Sandy


More information about the TYPO3-linux mailing list