TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] ImageMagick and safe mode=on

This is a discussion on [TYPO3] ImageMagick and safe mode=on within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi, I'm having problems setting up imagemagick or graphicsmagick in a shared hosting server (FreeBSD), *safe_mode* is on, so ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 11.05.2007, 19:00
Tania Morales
Gast
 
Beiträge: n/a
Standard [TYPO3] ImageMagick and safe mode=on

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
--
T@ni@
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 11.05.2007, 19:34
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] ImageMagick and safe mode=on

Hello Tania,

> 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


Maybe this online documentation may be helpful to you.

http://wiki.typo3.org/index.php/ImageMagick
http://wiki.typo3.org/index.php/GraphicsMagick

Just check it and edit, if something is missing there.
Please use the discussion pages on the wiki if you are not sure about
your intended changes.

- Franz
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 12.05.2007, 09:28
Peter Russ
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] ImageMagick and safe mode=on

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® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 12.05.2007, 19:19
Tania Morales
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] ImageMagick and safe mode=on

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 (DOT) 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 (DOT) netfielders.de
> http://lists.netfielders.de/cgi-bin/.../typo3-english
>




--
T@ni@
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 13.05.2007, 08:29
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] ImageMagick and safe mode=on

Tania Morales a écrit :
> 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 $*
>


The image magick executables should be taken from the current folder. No
need to set the MAGIC_HOME and PATH
IMHO if you have safe_mode=on then the user of the Image Magick files
must be the apache user and the group the apache user's group.

- Franz








_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] List module in calendar mode Robert John de Stigter typo3-english@lists.netfielders.de 3 31.01.2007 11:37
[TYPO3] Imagemagick problem typo3-english@lists.netfielders.de 2 24.01.2007 20:35
[TYPO3] ImageMagick Configuration Dusan Aleksic typo3-english@lists.netfielders.de 1 24.01.2007 00:05
[TYPO3-ttnews] Problem with mode -2: do NOT show items withselected categories OR Martin Kutschker typo3-project-tt-news@lists.netfielders.de 1 21.12.2006 22:28
[TYPO3] sr_feuser_register SHOW mode like EDIT Kristian Sogaard typo3-english@lists.netfielders.de 2 17.12.2006 15:33


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:20 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39