Re[2]: [PHP] mcrypt win32 install problem ?
| From: | Tom Rogers | Date: | Thu, 22 Jan 2004 04:31:30 +0000 |
| Subject: | Re[2]: [PHP] mcrypt win32 install problem ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175393@lists.php.net to get a copy of this message | ||
Hi,
Thursday, January 22, 2004, 2:16:22 AM, you wrote:
scb> Hi Tom, Vincent, list,
scb> Tom, your response caused some confusion here. I have mcrypt running on win32
scb> (Win98, Apache 1.3.29 & 2.0.48, PHP 4.3.4 & PHP 5beta3) and am in fact using
scb> mcrypt_generic_deinit() succesfully to encrypt/decrypt... This in accordance to the
scb> most recent PHP documentation, which exactly opposes your statement:
scb> mcrypt_generic_end
scb> (PHP 4 >= 4.0.2)
scb> mcrypt_generic_end -- This function terminates encryption
scb> Description
scb> bool mcrypt_generic_end ( resource td)
scb> Warning
scb> This function is deprecated, use mcrypt_generic_deinit() instead.
scb> It can cause crashes when used with mcrypt_module_close() due
scb> to multiple buffer frees.
scb> So maybe something else is causing Vincent's problem to decrypt. Without further
scb> code snippets it is very hard to pin it down...
scb> Regards,
scb> speedfreak
Yes you are right, it was the php_mycrypt.dll that I downloaded from
where the php manual I have states
(http://ftp.proventum.net/pub/php/win32/misc/mcrypt/)
had that function missing though it is in the
mcrypt.dll itself. I compiled my own version of php_mcrypt.dll and the
function is there now. I better get a newer version of the manual. Sorry about the confusion.
--
regards,
Tom