I just recently got roundcube installed with little effort on my
debian linux box. (Great work on the easy install guys) But when trying to connect for the first time It times out on the initial login. I am using courier Imap which I understand used to have some wierd socket errors but I am hoping someone has found a fix. I have tried both an SSL connection and non SSL. The exact error message from the logs is:
[22-Nov-2005 16:02:03] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/webmail/program/lib/imap.inc on line 104
I set the logging to 8 but there is nothing else logged. The web brower (mozilla) spins for quite some time and finally stops with a blank screen. During this time Apache also eats up a whole lot of CPU.
Here is some more info: PHP Version 4.3.10-10ubuntu4.2 Linux 2.6.10-5-686 Apache/2.0.53 mysql Ver 12.22 Distrib 4.0.23
As usual TIA
On Tue, Nov 22, 2005 at 04:38:40PM -0800, David Brossard wrote:
[22-Nov-2005 16:02:03] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/webmail/program/lib/imap.inc on line 104
I set the logging to 8 but there is nothing else logged.
I'd bet that your Inbox is quite big and the server is quite slow ;).
If your server does not have safe_mode enabled you can try to change the timelimit using http://php.net/function.set-time-limit.
This is already done in index.php line 62 as I just grepped: @set_time_limit('120');
Since the config-file config/main.inc.php is loaded after that you can override that setting by adding a line like:
@set_time_limit(0);
This disables the time limit completely but you will need some patience when calling your mailboxes (enabling caching might help though).
Balu
PS: set_time_limit() expects an integer as parameter, not a string. The line in index.php should be changed that way: @set_time_limit(120);