PHP Doku:: Anforderungen - mcrypt.requirements.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzKryptografische ErweiterungenMcryptInstallation/KonfigurationAnforderungen

Ein Service von Reinhard Neidl - Webprogrammierung.

Installation/Konfiguration

<<Installation/Konfiguration

Installation>>

Anforderungen

These functions work using » mcrypt. To use it, download libmcrypt-x.x.tar.gz from » http://mcrypt.sourceforge.net/ and follow the included installation instructions.

As of PHP 5.0.0 you will need libmcrypt Version 2.5.6 or greater.

Windows users will find the library is the PHP 5.2 Windows binaries release. PHP 5.3 Windows binaries uses the static version of the MCrypt library, no DLL are needed.

If you linked against libmcrypt 2.4.x or higher, the following additional block algorithms are supported: CAST, LOKI97, RIJNDAEL, SAFERPLUS, SERPENT and the following stream ciphers: ENIGMA (crypt), PANAMA, RC4 and WAKE. With libmcrypt 2.4.x or higher another cipher mode is also available; nOFB.


3 BenutzerBeiträge:
- Beiträge aktualisieren...
Antoine
30.11.2010 14:53
mcrypt is built in for PHP 5.3.x on windows, you don't need to do anything with a dll anymore.
bwessel at matharts dot com
18.09.2009 0:44
I found the libmcrypt-2.5.7.tar.gz file here: ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt

The mcrypt link above only has mcrypt-2.x.x.tar.gz files which when compiled said it was missing the libmcrypt file.  The libmcrypt-2.5.7.tar.gz worked when compiled and installed on Fedora.  I had to use configure options --disable-posix-threads --enable-dynamic-loading for libmcrypt, and -with-mcrypt=usr/local/include configure option for php, which is the folder with mcrypt.h
tom420 dot duhamel at gmail dot com
3.02.2009 6:55
If installing libmcrypt from RPM, you need both libmcrypt*.rpm and libmcrypt-devel*.rpm. I found RPMs for both were available for most platforms on this page:

http://rpmforge.net/user/packages/libmcrypt/

Also files.edin.dk does not seem to carry the win32 files anymore.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)