Click to See Complete Forum and Search --> : Installing MCRYPT


dwg1011
12-25-2004, 01:22 PM
I am trying to install mcrypt on Windows/XP Home Edition. I am runing PHP 4.3.10 (but will go back to 4.2.2 if needed). The link in the php manual for mcrypt refers to libmcrypt.dll (which I installed in c:\windows\system32) and updating the extensions_dir in php.ini (which I did). I could not find the php_mcrypt.dll on this site.

Through some random surfing, I found the php_mcrypt.dll file on the following site:

http://www.x-code.com/vdaemon_secure.php.

I downloaded both dlls (libmcrypt and php_mcrypt) from this site.

When I restarted my computer I got the following error message:

Unable to load dynamic library C:\FoxServ\php\extensions\php_mcrypt.dll. The specified procedure could not be found.

The obvious answer would be I made a typo; however, the mhash dll in the same directory works fine.

I have spent a day and a half trying to get this to work. Any help would be appreciated.

Thanks,
David

tsinka
12-31-2004, 08:59 AM
Hi,

did you download the installer version of PHP ? The php_mcrypt.dll comes with the zip package (also available at php.net).

Download the zip file to make sure that you get all the extensions available.

You still need to download the file libmcrypt.dll from somewhere else since it doesn't come with the zip file.

http://ftp.emini.dk/pub/php/win32/mcrypt/

Thomas

Thomas