CakeFest 2024: The Official CakePHP Conference

要件

ここで示す関数は、» mcrypt を 使用して動作します。この拡張モジュールを使用するには、» http://mcrypt.sourceforge.net/ から libmcrypt-x.x.tar.gz をダウンロードし、含まれているインストール用の指示に従ってください。

libmcrypt のバージョン 2.5.6 以降が必要です。

Windows ユーザーは、PHP 5.2 Windows 版バイナリに含まれているライブラリを使います。 PHP 5.3 の Windows 版バイナリには MCrypt ライブラリがスタティックに組み込まれているので、 DLL は不要です。

libmcrypt 2.4.x とリンクした場合、加えてブロックアルゴリズム: CAST, LOKI97, RIJNDAEL, SAFERPLUS, SERPENT および次のストリーム暗号: ENIGMA (crypt), PANAMA, RC4, WAKE がサポートされます。 libmcrypt 2.4.x を使用した場合、暗号モード nOFB もサポートされます。

add a note

User Contributed Notes 5 notes

up
-13
Antoine
13 years ago
mcrypt is built in for PHP 5.3.x on windows, you don't need to do anything with a dll anymore.
up
-13
Anonymous
11 years ago
Both mcrypt and libmcrypt are available through the linked website. You simply have to click the "Browse all files" or similar link once on the "development site" and not just look for the default Sourceforge download button.
up
-14
jcwebb at dicoe dot com
9 years ago
there are no instructions included with the sourceforge download.

After php 5.3 mcrypt is automatically included and enabled.
(i was looking to enable an extension)
up
-14
tom420 dot duhamel at gmail dot com
15 years ago
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.
up
-27
Vladimir Kovpak
8 years ago
On linux:

sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
sudo service apache2 restart
To Top