Sorry for the late response, but I just had to wait to be accepted into this forum first, so I forgot to check.
I generated a new private key, and yes I forgot to mention that in the previous example I used a 1024-bit private key.
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
The line you mention is the one timing out, I only changed the biginteger file name and nothing else, since I find capital letters somehow offensive
, I also downloaded the trunk version and tried it out too, but with the same outcome.
I did some tests and increased the time out on the server to 60 seconds and it signed that message in 40 sec. I also noticed that the server did not have any math lib installed so it was running MATH_BIGINTEGER_MODE_INTERNAL. I was forced to switch to openssl since I think 40 sec is a lot of waiting time for signing a 5 char message with a 1024-bit key.
(But I guess that's the nature of php, if there are no optimizations left to do in big integer class.)