I have been trying to deploy SquirrelMail to my webserver, which is currently set up as Apache 2.0.40 and mod_jk2 to Tomcat 4.1.24 on JBoss3.2.1.
When I try and access any page in SquirelMail other than the log on page, I get a blank page come back, with no errors.
Looking in the Apache error_log (/var/log/httpd/error_log) shows a few PHP errors:
<code>PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4097 bytes) in /usr/share/squirrelmail/functions/imap_general.php on line 48</code>
This memory setting is in the /etc/php.ini file. Increasing this from 8M to 64M, and the
max_execution_time from 30 to 120 fixed the memory and timeout problems.
The /var/log/messages file also showed the following error:
<code>Nov 7 11:17:52 localhost xinetd: libwrap refused connection to imap from 127.0.0.1 </code>
imapd: 127.0.0.1 to /etc/hosts.allow fixed this.