From: wkongucd at yahoo dot com Operating system: Windows 2000 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug description: Fatal error: Call to undefined function: mcrypt_generic_deinit()
I used the following code: <?php $key = "this is a secret key"; $input = "Let us meet at 9 o'clock at the secret place."; $td = mcrypt_module_open ('tripledes', '', 'ecb', ''); $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND); mcrypt_generic_init ($td, $key, $iv); $encrypted_data = mcrypt_generic ($td, $input); mcrypt_generic_deinit ($td); mcrypt_module_close ($td); ?> In my php.ini file: extension=php_mcrypt.dll I use IIS 5.0 server and use SAPI filters. The error message I get is: Fatal error: Call to undefined function: mcrypt_generic_deinit() -- Edit bug report at http://bugs.php.net/?id=24052&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24052&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24052&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24052&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24052&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24052&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24052&r=support Expected behavior: http://bugs.php.net/fix.php?id=24052&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24052&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24052&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24052&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24052&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24052&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24052&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24052&r=gnused