[imp] Re: IMP Performance in mailbox.php

Johny horde at agotnes.com
Sun May 25 01:26:13 PDT 2003


Mate,

I used arwins RPMs yesterday with zero luck, but today using the Horde 
ones it was pretty straightforward to upgrade...

However, zero improvement with mcrypt installed. test.php reports it as 
installed, and a bit of logging in Secret.php shows that this statement 
fails, causing it to simply fall back to the standard encryption in Horde;


$td = @mcrypt_module_open(MCRYPT_GOST, '', MCRYPT_MODE_ECB, '');
             if ($td) { <--- FALSE

I got both libmcrypt and php-mcrypt from the horde website, and just 
checked that there is both a gost.so and a ecb.so in /usr/lib/libmcrypt.

Suggestions ? I'm happy to debug this one, but the PHP doccos say 
nothing useful about this function failing, so I'm at a bit of a loss as 
to what to do with it...

:)Johny

Crispin Olson wrote:
>>Actually, no, still looking for one that goes with the stock RH7.3
>>PHP4.1.2 RPMs as I had so many issues trying to upgrade PHP
> 
> yesterday..
> 
> 
> Try Brent Nordquist's RPM's at http://ftp.horde.org/pub/RPMS/i386/rh7/
> 
> 
>>Not sure how much I'd gain, but I'll try it and see. I did however run
>>the test.php page up just to check what the status was, and got a
>>reminder that my PEAR installation was out of date. Quick upgrade and
>>wee patch of lib/Horde.php later to get logging going I now see the
>>following improvement;
> 
> 
> You *will* see a vast improvement in the authentication time. Secret.php
> in the 3.2.1 release is a known processor hog - there is a fix in the
> RELENG branch, but the easiest way is to install the libmcrypt, and the
> php-mcrypt RPM's. You will also need to install the PHP 4.2.2 rpm's from
> the site as well - they already come with the right PEAR.
> 
> Crispin Olson
> 
> 
> 
> 




More information about the imp mailing list