I have compiled apache 2.4.16, php 5.6.11 and also compiled libmcrypt 2.5.7
This is done as part of a setup script which we use to set our servers up.
Both installed no problems and passed the php make test.
When I issue
$iv = mcrypt_create_iv($size, MCRYPT_DEV_URANDOM);
..apache blocks.
$iv = mcrypt_create_iv($size, MCRYPT_DEV_RANDOM);
..apache also blocks.
This typically would be down to URANDOM/RANDOM blocking.
How can I establish what is causing the block?
Running php -a (interactively) doesn't cause problems and only blocks with RANDOM.
Why would apache cause a block and running php interactively work ok?
Cheers, Tom