thyseus / yii-user-management

a user management module collection for the yii framework
185 stars 122 forks source link

mcrypt_create_iv() [<a href='function.mcrypt-create-iv'>function.mcrypt-create-iv</a>]: Cannot open source device #109

Open sotsay opened 11 years ago

sotsay commented 11 years ago

when install get this mcrypt_create_iv() [function.mcrypt-create-iv]: Cannot open source device i have check the yii requirement and mcrypt extension is pass

lex3m commented 10 years ago

The issue occurred because MCRYPT_DEV_URANDOM was only supported on Windows as from PHP version 5.3.0, that is why it was working well until the downgrade.

I changed to MCRYPT_RAND which worked on previous versions and the problem was solved.

Read this http://stackoverflow.com/questions/14676112/php-mcrypt-error-cannot-open-source-device