[TYPO3] ImageMagick and safe mode=on

Tania Morales tania.morales at gmail.com
Sat May 12 19:19:51 CEST 2007


Still doesn't work :(
Thanks Franz and Peter,  for the suggestions
Maybe i'm doing something wrong, this is what i have
I installed imagemagick in my web site root directory, under psaserv group
and 777 permissions and renamed the 3 files:

mv convert convert.bin
mv combine combine.bin
mv identify identify.bin

and i created the 3 executable files

convert:

#!/usr/local/bin/bash
export PATH; PATH="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/bin:$PATH"
export MAGICK_HOME="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5"
export LD_LIBRARY_PATH="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/lib"
/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/bin/convert.bin $*

composite:
#!/usr/local/bin/bash
export PATH; PATH="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/bin:$PATH"
export MAGICK_HOME="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5"
export LD_LIBRARY_PATH="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/lib"
/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/bin/composite.bin $*
identify:
#!/usr/local/bin/bash
export PATH; PATH="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/bin:$PATH"
export MAGICK_HOME="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5"
export LD_LIBRARY_PATH="/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/lib"
/home/httpd/vhosts/user10/httpdocs/ImageMagick-6.2.5/bin/identify.bin $*

And in the localconf.php file i have
$TYPO3_CONF_VARS['GFX']['im_path'] =
'/home/httpd/vhosts/user10/httpdocs/imagemagick-6.2.5/bin/';
$TYPO3_CONF_VARS['GFX']['im_version_5'] = '';
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite';
$TYPO3_CONF_VARS['GFX']['im_path_lzw'] =
'/home/httpd/vhosts/user10/httpdocs/imagemagick-6.2.5/bin/';
$TYPO3_CONF_VARS['GFX']['im'] = '1';



On 5/12/07, Peter Russ <peter.russ at 4many.net> wrote:
>
> Tania Morales schrieb:
> > Hi, I'm having problems setting up imagemagick or graphicsmagick in a
> > shared
> > hosting server (FreeBSD),
> > *safe_mode* is on, so it does not find the installation in the
> > /usr/local/bin directory.
> > I set up disable_exec_function =0 and i also tried to install them in
> the
> > web site root directory with the same user, group and permissions as the
> > rest of directories and i chagne the im_path to that one but , I can not
> > change *safe_mode or *the *safe_mode_exec_dir .So* install tool keep
> > displaying  "It seems that there is no adequate ImageMagick installation
> > available at the checked locations (/nonexec, /usr/local/php/bin/)"
> > If you have any idea, please let me know.Thanks
> Do you have rw access to the safe_mode_exec_dir?
> if you could symlink to /usr/local/bin/convert etc.
> If not you could try this:http://www.4many.net/imagemagick_setup.html
>
> Regs. Peter.
>
> --
> Fiat lux!
> Docendo discimus.
> _____________________________
> 4Many(r) Services
> openBC: http://www.openbc.com/go/invuid/Peter_Russ
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



-- 
T at ni@


More information about the TYPO3-english mailing list