Zum Inhalt springen

Installation verschieben

Erstellt am 21. September 2006 · 4 Antworten · letzte Antwort am 21. September 2006

Tags: Frage

Helmut Schneider ·

Hi,

ich möchte meine Typo3.8.1 Installation in ein neues Verzeichniss verschieben. Alle Versuche enden in:

[Wed Sep 20 22:44:21 2006] [error] [client 192.168.0.1] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8192 bytes) in /var/www/vhosts/host.domain.tld/htdocs/typo3conf/localconf.php on line 1

Nachdem also die php.ini ausscheidet, wo muss ich schrauben?

Danke und Gruß, Helmut

Helmut Schneider ·
woida schrieb

Es liegt aber an der php.ini => memory_limit

Nein. Das limit liegt - wie man sieht - schon auf 64MB. Wenn Typo3 im ursprünglichen Verzeichniss liegt, reichen sogar 20MB. Ich kann das Limit auch auf satte 512MB hochschrauben, und trotzdem kommt der Fehler.

[root@cms ~]# grep -r memory_limit /usr/local/etc/php.ini
#memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
#memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)
memory_limit = 512M ; Maximum amount of memory a script may consume (8MB)
[root@cms ~]#

Gruß, Helmut

Helmut Schneider ·
woida schrieb

Dann vermute ich mal das du das Verzeichnis falsch verschoben hast und eine Rekursion entsteht.

Kruzifix.

Aus der /var/www/vhosts/host.domain.tld/vhosts/typo3conf/localconf.php:
require("/var/www/vhosts/host.domain.tld/vhosts/typo3conf/localconf.php");

Besser:
require("/var/www/vhosts/host.domain.tld/typo3conf/localconf.php");

Merci, Helmut