Zum Inhalt springen

Jede Menge Fragen bei Installation auf Server

Erstellt am 19. August 2003 · 2 Antworten · letzte Antwort am 20. August 2003

Tags: Frage

Tanner ·

Hallo,

habe so meine probleme bei der Installation auf meinem Webspace (von Candan).

Im Install-Tool unter "Basic Configuration" sind noch einige Unklarheiten:

1.

Tracking Vars not set 
track_vars=
Tracking vars are essential for almost any PHP-application. 
The fact that the value is not set may not impose a problem, because it's always set in version 4.03+ of PHP.

2.

Register globals enabled 
You should always use the function t3lib_div::GPvar("[the_var_name_from_GET_or_POST]") to retrieve values passed to your script from outside.

3.

Max Upload filesize too small? 
upload_max_filesize=2M
By default Typo3 supports uploading, copying and moving files of sizes up to 10000 kb (10 MB) (You can alter the Typo3 defaults by the config option TYPO3_CONF_VARS[BE][maxFileSize]).
Your current value is below this, so at this point, PHP sets the limits for uploaded filesizes and not Typo3. 
Notice: The limits for filesizes attached to database records are set in the tables.php configuration file ($TCA) for each group/file field.

4.

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=/home/www/empty
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+

5.

open_basedir set 
open_basedir=/home/www/mein Ordner/
This restricts Typo3 to open and include files only in this path. Please make sure that this does not prevent Typo3 from running.
Notice (UNIX): Before checking a path according to open_basedir, PHP resolves all symbolic links.

6.

GIF / PNG issues 
Typo3 prefers the use of GIF-files and most likely your visitors on your website does too as not all browsers support PNG yet.

7.

No ImageMagick install available 
It seems that there is no adequate ImageMagick installation available at the checked locations (/home/www/empty, /usr/local/php/bin/)
An 'adequate' installation for requires 'convert', 'combine'/'composite' and 'identify' to be available

So, das wären zunächst einmal alle Meldungen, bei denen KEIN grünes Häckchen steht. Stattdessen sind da dann Info-Bläßchen oder Ausrufezeichen.

Was haben die Sachen zu bedeuten und muss ich noch was ändern?

Tanner ·

zu 7. nochmal: Es scheint ja, dass Image Magick fehlt. Was muss ich denn machen. Ich habe wohl auf meinem Rechner (auf dem ich Typo3 zunächst testete) im Apache-Ordner einen Ordner namens ImageMagick???

Muss ich diesen Ordner auf meinen Server spielen oder wie?

Tanner ·

habe ein wenig rumexperimentiert und bin in Sachen IM schon einiges weiter. Habe also jetzt den Image Magick-Ordner auf den Server gespielt, in den Ordner von Typo 3.

Diesen ordner habe ich angegeben im Installationstool für die IM-Installation nach drücken auf "Send" wird die Installation auch bestätigt. Scheinbar hat alles geklappt. Wenn ich aber dann aber beispielsweise auf "Update localconf.php" gehe, steht danach wieder da, dass keine Installation von IM vorhanden ist.

Woran kann das liegen? Könnte ein Grund sein, dass Safe-Mode=on ist. Da steht nänlich in dem Zusammenhang ja alle was von IM, nur verstehe ich das nicht so ganz.