/ Forside / Teknologi / Udvikling / PHP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
PHP
#NavnPoint
rfh 3959
natmaden 3372
poul_from 3310
funbreak 2700
stone47 2230
Jin2k 1960
Angband 1743
Bjerner 1249
refi 1185
10  Interkril.. 1146
imagemagick op typo3 på wannafind.dk
Fra : Martin


Dato : 08-02-11 19:08

Min typo3 4.5.0 installation på wannafinds server siger at der ikke
findes imagemagick - men deres support siger det er en bug i typo3 og at
imagemagick findes her:
/usr/local/bin/safe/

Nogle erfaringer med denne kombination?

Martin

 
 
Martin (08-02-2011)
Kommentar
Fra : Martin


Dato : 08-02-11 19:41

Det er webhotel Professional med php safe mode ON der måske er fejlen...

Typo3 install tool siger:
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=/usr/local/bin/safe
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)



Martin


Den 08-02-2011 19:08, Martin skrev:
> Min typo3 4.5.0 installation på wannafinds server siger at der ikke
> findes imagemagick - men deres support siger det er en bug i typo3 og at
> imagemagick findes her:
> /usr/local/bin/safe/
>
> Nogle erfaringer med denne kombination?
>
> Martin


SUND (28-02-2011)
Kommentar
Fra : SUND


Dato : 28-02-11 05:18

On 8 Feb., 19:40, Martin <p...@teknit.dk> wrote:
> Det er webhotel Professional med php safe mode ON der måske er fejlen....
>
> Typo3 install tool siger:
> 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=/usr/local/bin/safe
> 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)
>
> Martin
>
> Den 08-02-2011 19:08, Martin skrev:
>
> > Min typo3 4.5.0 installation på wannafinds server siger at der ikke
> > findes imagemagick - men deres support siger det er en bug i typo3 og at
> > imagemagick findes her:
> > /usr/local/bin/safe/
>
> > Nogle erfaringer med denne kombination?
>
> > Martin

Hej Martin,

Ved ikke om du har løst dit problem, men jeg faldt lige over denne
tråd, da jeg søgte på samme problem - men jeg løste det ved at
udskifte "escapeshellarg" med "escapeshellcmd" i linje 82 og linje 89
i t3lib/utilitu/class.t3lib_utility_command.php - så virkede
kombinationen TYPO3 v 4.5.2 og wannafind "safe_mode on" hos mig. Ja,
selv "install tool" kunne finde den.

Torben

Martin (01-03-2011)
Kommentar
Fra : Martin


Dato : 01-03-11 23:23

>
> Ved ikke om du har løst dit problem, men jeg faldt lige over denne
> tråd, da jeg søgte på samme problem - men jeg løste det ved at
> udskifte "escapeshellarg" med "escapeshellcmd" i linje 82 og linje 89
> i t3lib/utilitu/class.t3lib_utility_command.php - så virkede
> kombinationen TYPO3 v 4.5.2 og wannafind "safe_mode on" hos mig. Ja,
> selv "install tool" kunne finde den.
>
> Torben

RESPEKT RESPEKT Torben - det virkede sandelig - imagemagick bliver
anerkendt af typo3.

Hvordan i al verden fandt du ud af det???

Fedt.

Martin

Søg
Reklame
Statistik
Spørgsmål : 177577
Tips : 31968
Nyheder : 719565
Indlæg : 6409071
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste