- - - - - - - - - - - - - - - - C r y p t M s g - - - - - - - - - - - - - - - -
| Cryptmsg.php installation notes Linux/*nix Normal installation This document outlines the requrements for Cryptmsg.php on installed Linux (and likely most other *nix). This requires mcrypt and libmcrypt, available at: http://mcrypt.sourceforge.net/ Download libmcrypt and mcrypt. You'll also need to download the mars, rc6, and skipjack modules, available in the same area. When we wrote this, the current version were: libmcrypt-2.5.7.tar.gz libmcrypt-mars-0.9.tar.gz libmcrypt-rc6-0.9.tar.gz libmcrypt-skipjack-0.9.tar.gz mcrypt-2.6.4.tar.gz The mcrypt binaries probably are not necessary, but it's good style to do a complete installation. We used Apache 1.3.34 with PHP 5.1.4, on Linux. It should work with any version of PHP >= 4.x and any libmcrypt >= 2.4.x, that was compiled with dynamic loadable modules. Most likely, it will work with Windows, if PHP is working properly with libmcrypt. The available binary distribution packages for our distribution of Linux did not use dynamic loadable modules, and caused any mcrypt functionality to fail. This is a change in behavior from the past. When compiling libmcrypt, use: ./configure --enable-dynamic-loading && make && make install For the other libmcrypt algorithms, we simply used: ./configure && make && make install PHP is compiled with the option --with-mcrypt=/usr/local/include , which is where the default mcrypt location is. The following block was added to php.ini . It is not there by default. [mcrypt] mcrypt.algorithms_dir=/usr/local/lib/libmcrypt mcrypt.modes_dir=/usr/local/lib/libmcrypt Put cryptmsg.php anywhere on your site that you'd like. If the libraries are installed correctly, it will work fine. |