[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1912
  • Last Modified:

installing mcrypt library on windows 2000

Hi - I am trying to install the mcrypt library.  I downloaded the below files:

cygmcrypt-4.dll
cygmhash-2.dll
cygwin1.dll
cygz.dll
libmcrypt.dll
libmcrypt.lib
mcrypt.exe
mcrypt.h

I copied the dll and lib files to the WINNT/system32 directory.  Do you have any idea where mcrypt.exe and mcrypt.h need to be saved?

Also, the php.net site says that "you need to compile PHP with the --with-mcrypt[=DIR] parameter to enable this extension.  DIR is the mcrypt install directory.  Make sure you compile libmcrypt with the option --disable-posix-threads."  

I have no idea what they are referring to as those lines are not within my php.ini file.  Perhaps that refers to linux installations?  The php.net site also refers to installation instructions within the downloaded files, but I have not found them.

Any help would be greatly appreciated.  Thanks!




0
shafer23
Asked:
shafer23
1 Solution
 
hernst42Commented:
on windows just uncomment/add the line
extension=php_mcrypt.dll

restart your webserver and mcrypt-extension should be available. The compile options are only needed on unix-systems
0
 
shafer23Author Commented:
Great - thanks!
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now