#24052 [Opn->Asn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
From: sniper@php.net Date: Fri, 06 Jun 2003 06:09:39 +0000 Subject: #24052 [Opn->Asn]: Fatal error: Call to undefined function: mcrypt_generic_deinit() References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-41312@lists.php.net to get a copy of this message
ID: 24052
Updated by: sniper@php.net
Reported By: wkongucd at yahoo dot com
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Windows 2000
PHP Version: 4.3.2
-Assigned To:
+Assigned To: edink
New Comment:
Edin, another missing -D for win32 build?
HAVE_MCRYPT_GENERIC_DEINIT
(or it should be 'ifdef' in mcrypt.c ??
Previous Comments:
------------------------------------------------------------------------
[2003-06-05 21:58:56] wkongucd at yahoo dot com
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 this bug report at http://bugs.php.net/?id=24052&edit=1
Thread (16 messages)
- #24052 [Opn->Asn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Asn->Fbk]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Fbk->Opn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Opn->Bgs]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Bgs->Opn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Opn->Asn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Asn->Bgs]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Com]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Com]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Bgs->Opn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Opn->Csd]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Csd->Opn]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Com]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Opn->Csd]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
- #24052 [Com]: Fatal error: Call to undefined function: mcrypt_generic_deinit()
| « previous | php.bugs (#41312) | next » |
|---|