Zum Inhalt springen

Image Magick

Erstellt am 31. August 2005 · 5 Antworten · letzte Antwort am 1. September 2005

Tags: Frage

mzimmere ·

Hallo,
habe ein Problem mit meiner Typo Installation.
Was ist wenn

Render text with TrueType font using 'niceText' option
Test is skipped!

Use of ImageMagick has been disabled in the configuration. ImageMagick is needed to generate text with the niceText option. Refer to section 'Basic Configuration' to change or review you configuration settings

Render 'niceText' with a shadow under
Test is skipped!

Use of ImageMagick has been disabled in the configuration. ImageMagick is needed to generate shadows. Refer to section 'Basic Configuration' to change or review you configuration settings

und

Safe mode turned on
safe_mode=1
In safe_mode PHP is restricted in several ways. This is a good thing because it adds protection to your (and others) scripts. But it may also introduce problems. In TYPO3 this may be a problem in two areas: File administration and execution of external programs, in particular ImageMagick.
If you just ignore this warning, you'll most likely find, that TYPO3 seems to work except from the image-generation. The problem in that case is that the external ImageMagick programs are not allowed to be executed from the regular paths like "/usr/bin/" or "/usr/X11R6/bin/".
If you use safe_mode with TYPO3, you should disable use of external programs ([BE][disable_exec_function]=1).
In safe mode you must ensure that all the php-scripts and upload folders are owned by the same user.

safe_mode_exec_dir=
If the ImageMagick utilities are located in this directory, everything is fine. Below on this page, you can see if ImageMagick is found here. If not, ask you ISP to put the three ImageMagick programs, 'convert', 'combine'/'composite' and 'identify' there (eg. with symlinks if Unix server)

Example of safe_mode settings:
Set this in the php.ini file:

; Safe Mode
safe_mode = On
safe_mode_exec_dir = /usr/bin/

...and the ImageMagick '/usr/bin/convert' will be executable.
The last slash is important (..../) and you can only specify one directory.

Notice:
ImageMagick 4.2.9 is recommended and the binaries are normally installed by RPM in /usr/X11R6/bin or by compiling in /usr/local/bin. Please look in the "Inside TYPO3" pdf-document for extensive information about ImageMagick issues.
Paths to ImageMagick are defined in localconf.php and may be something else than /usr/bin/, but this is default for ImageMagick 5+

Kann Dies Auswirkungen auf meine Inst haben, die läuft nämlich nicht, wenn ich meine Startseite aufrufe

Vielen Dank im voraus

Matthias

zero.​cool ·

Also ich hab mir einmal den wamp installiert und dann ImageMagick rauskopiert. Weiß zwar nicht ob alles funktioniert was funktionieren soll. Aber das mußt Du sehen. Ansonsten kann ich nur Linux empfehlen.

mzimmere ·

Hallo,
ich hab ja den webserver nicht auf meinen Rechner, sonder der wird gehostet, wie soll ich da also imagemagick insten?
brauche ich da einfach nur gewisse dateien von image magick oder hat die an sich mein "hoster" auf seinen server vorinstalliert? (evanzo)
Wenn ja, welchen link auf welches Verzeichnis muss ich da setzen?
Vielen Dank

Matthias

jroeper ·

ob ImageMagick installiert ist und unter welchem Pfad musst du deinen Provider fragen.

Den Safe mode kann auch nur der Hoster deaktivieren, und das wird der bestimmt nicht machen leider :-/