Re: mcrypt don't work.

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: mcrypt don't work.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177132@lists.php.net to get a copy of this message
Mmm this same problem happen to me also... I use Apache 1.3.29 for Win32 and PHP v4.3.4 ... I do not know why but mcrypt module failed to initialize.... francesco@automationsoft.biz wrote:
Hi all, I have problem with mcrypt function. There is always an error that I don't know how to correct this. This is my code: $string = "Text string"; $key= "My key"; $encrypted = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $string, MCRYPT_ENCRYPT); echo"stringa cifrata= $encrypted"; $key = "My key"; $string = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $encrypted, MCRYPT_DECRYPT); echo"stringa decifrata= $string"; And the errore message is Warning: mcrypt_cfb(): Module initialization failed in /web/htdocs/www.automationsoft.biz/home/critto.php on line 55 stringa cifrata= Warning: mcrypt_cfb(): Module initialization failed in /web/htdocs/www.automationsoft.biz/home/critto.php on line 58 stringa decifrata= I see, with phpinfo(), that my server support mcrypt and RIJNDAEL-256. I don't know why there is this error message. All helps are precious. Thanks in advance Francesco francesco@automationsoft.biz (P.S. this is the link for a view in real time of the problem www.automationsoft.biz/critto.php)


« previous php.general (#177132) next »