problem with mcrypt installation
I've asked the system admins to install mcrypt on the server, and they say everything is OK. But when I run my simple script I get this. Warning: mcrypt_get_iv_size() [function.mcrypt-get-iv-size]: Module initialization failed It's coming from this line: $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256,MCRYPT_MODE_ECB); Now, from this code: $algorithms = mcrypt_list_algorithms("/usr/local/bin/mcrypt"); foreach ($algorithms as $cipher) { echo "$cipher<br />\n"; } I get: Warning: mcrypt_list_algorithms() [function.mcrypt-list-algorithms]: No algorithms found in module dir When I run this: