PDA

View Full Version : squirrelmail / php 4.4.1 infinitive loop solution


dennisc
11-03-2005, 05:29 AM
People might get troubles with reading mail in Squirrelmail due to a known bug.

If this happens the Apache load will get very high and in the Apache error log PHP complains about a timeout. Increasing the timeout value in php.ini will not solve the problem.

The bug is known and documented on http://www.squirrelmail.org/wiki/KnownBugs

Setting $allow_server_sort = true in config.php will do.

Cheers!

Chrysalis
11-03-2005, 08:38 AM
hmm according to this http://bugs.php.net/bug.php?id=35067 a fair few open source apps break, I hope there is a 4.4.2 soon. But thanks for the above fix for squirrelmail.

sspt
11-03-2005, 10:49 AM
Have you tried with the latest snapshot?

dennisc
11-03-2005, 11:54 AM
Of course I don't run development snapshots on production servers. ;-)

Chrysalis
11-03-2005, 03:25 PM
Same I am not in the habit of running cvs snapshots on production server's :(

vandal
11-04-2005, 01:13 PM
thanks for this! we were experiencing many problems with squirrelmail.

van

mr. green
11-05-2005, 05:50 AM
Thanks, this solved the problem ! :D

andyl
11-05-2005, 03:02 PM
If you're willing to apply a patch to your PHP source before building customapache, you can fix this problem at the PHP source. See:

http://marc.theaimsgroup.com/?l=php-cvs&m=113095430113617&w=2

for the patch.

(There may not be a 4.4.2 release yet, but this patch is very straightforward and has been applied to the FreeBSD ports tree.)

Andy

ZATZAi
12-16-2005, 03:21 AM
Ah, just ran into this problem with nutsmail, good tip!