WN

WN (https://www.wn.se/forum/index.php)
-   Serversidans teknologier (https://www.wn.se/forum/forumdisplay.php?f=4)
-   -   Kan inte öppna mail.. (https://www.wn.se/forum/showthread.php?t=33764)

xciso 2008-12-05 20:42

Tja.
Jag har en vps idag med debian på och den fungerar klockrent...
MEN... nu har jag ganska många mail i min inbox och fick idag ett mail på ca 10mb.
När jag försöker öppna det från min webmail får jag detta fel.

Fatal error: Out of memory (allocated 24117248) (tried to allocate 11037579 bytes) in /var/www/html/webmail/inc/class.uebimiau.php on line 806

Jag har ställt in så att jag ska ha obegränsat med utrymme för det kontot och det finns gott om utrymme kvar på det kontot.

Hur kan jag ställa in detta?

Stort tack på förhand!

Silodon 2008-12-05 21:12

Prova att öka hur mycket minne php får använda i din php.ini fil.

xciso 2008-12-05 21:37

ok.. vet du exakt hur det ser ut?

Silodon 2008-12-05 21:49

Öppna som sagt din php.ini fil. På Debian borde den finnas i /etc/php5/apache2/ , förutsatt att du använder php5 och apache2 då.

Hitta följande rader och editera.

Kod:

;;;;;;;;;;;;;;;;;;;
; Resource Limits;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 300; Maximum execution time of each script, in seconds
max_input_time = 60; Maximum amount of time each script may spend parsing request data
memory_limit = 8M  ; Maximum amount of memory a script may consume (8MB)

Tvinga sedan apache att ladda om alla dess konfigurationsfiler. (/etc/init.d/apache2 force-reload)


Alla tider är GMT +2. Klockan är nu 02:35.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson