Package: squirrelmail Version: 2:1.4.9a-2 Severity: wishlist Tags: patch Hi
I got the memory problem on my site: Allowed memory size of 8388608 bytes exhausted Here is the solution: Include "php_value memory_limit 32M" in the apache.conf file. Here is my apache.conf: -------- Alias /squirrelmail /usr/share/squirrelmail <Directory /usr/share/squirrelmail> Options Indexes FollowSymLinks <IfModule mod_php4.c> php_flag register_globals off php_value memory_limit 32M php_value post_max_size 8M php_value upload_max_filesize 8M </IfModule> <IfModule mod_php5.c> php_flag register_globals off php_value memory_limit 32M php_value post_max_size 8M php_value upload_max_filesize 8M </IfModule> <IfModule mod_dir.c> DirectoryIndex index.php </IfModule> # access to configtest is limited by default to prevent information leak <Files configtest.php> order deny,allow deny from all allow from 127.0.0.1 </Files> </Directory> # users will prefer a simple URL like http://webmail.example.com #<VirtualHost 1.2.3.4> # DocumentRoot /usr/share/squirrelmail # ServerName webmail.example.com #</VirtualHost> # redirect to https when available (thanks [EMAIL PROTECTED]) # # Note: There are multiple ways to do this, and which one is suitable for # your site's configuration depends. Consult the apache documentation if # you're unsure, as this example might not work everywhere. # #<IfModule mod_rewrite.c> # <IfModule mod_ssl.c> # <Location /squirrelmail> # RewriteEngine on # RewriteCond %{HTTPS} !^on$ [NC] # RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L] # </Location> # </IfModule> #</IfModule> -------- This should resolve a lot of Problems ... I also put this info in the wiki: http://squirrelmail.org/wiki/LowMemoryProblem ... hope it helps. Jochen -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686 Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages squirrelmail depends on: ii apache2 2.2.3-4+etch4 Next generation, scalable, extenda ii apache2-mpm-prefork [htt 2.2.3-4+etch4 Traditional model for Apache HTTPD ii libapache2-mod-php4 6:4.4.4-8+etch6 server-side, HTML-embedded scripti ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction ii php4 6:4.4.4-8+etch6 server-side, HTML-embedded scripti ii php4-cgi 6:4.4.4-8+etch6 server-side, HTML-embedded scripti Versions of packages squirrelmail recommends: ii ispell 3.1.20.0-4.3 International Ispell (an interacti ii squirrelmail-locales 1.4.9-20070106-1 Translations for the SquirrelMail -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]