Both RANDOM and Unblocking-RANDOM (URANDOM) will supply you random data, but while RANDOM will block if the "entropy well" dries due to over-use, and restart when it has been replenished, URANDOM won't.
Pro: URANDOM won't block.
Con: URANDOM, if left without entropy, will feed you not-really-so-random data.
For crypto purposes, unless you're really paranoid, I think that URANDOM should suffice.
See this Ubuntu page:
http://manpages.ubuntu.com/manpages/jaunty/man4/random.4.html
I (wrongly) thought that the RANDOM sources were user-controllable, but it appears they aren't. Apparently, nothing much is happening on that computer, so that the kernel entropy generator finds nothing to grind.
On the plus side, the URANDOM generator is said to be very good and is recommended for practically everything.
(I'm editing out some previous suggestions of mine that wouldn't work for you, since they would require, at the very least, a recompilation of PHP).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…