problems with mod_auth_openid
Jamie McClelland
jm at mayfirst.org
Sat Aug 18 00:17:08 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu Aug 09, Jamie McClelland wrote:
> Hi all,
>
> I just installed the PHP Standalone server and it seems to be working well.
>
> However, I can't get it to work with mod_auth_openid.
I seem to have traced the problem to the math library. I'm running Debian,
which includes the slow bc math functions but not the fastet gmp functions in
PHP (for a discussion, see:
http://lists.danga.com/pipermail/yadis/2005-August/thread.html#1336).
On a relatively fast machine, it takes 35 seconds for the PHP openid library
to run the bcpowmod() function. That causes mod_auth_openid to time out :(.
I've recompiled with gmp support and the problem is solved. I don't know
anything about math - is there a faster way to do that math? Is there a
command line tool that could produce the numbers via a php exec call?
Recompiling php is real pain - but without doing that I don't see how it's
possible to use the php stand alone server :(.
jamie
- --
Jamie McClelland
718-303-3204 ext. 101
May First/People Link
Growing networks to build a just world
http://www.mayfirst.org
Members Local 1180, Communications Workers of America, AFL-CIO
PGP Key: http://mayfirst.org/jamie-pgp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGxpz0nq83YnbMBX0RAt5oAJ9PZOkxt+MFNaLZwmncYf+W5NEoAQCfWQjo
DfbmIG8VB8Vmc2YKELzmQjU=
=Oi7o
-----END PGP SIGNATURE-----
More information about the Dev
mailing list