try this on a page <?php phpinfo(); ?>
Look for mcrypt directives, if not there you need to download it and compile it like so.
http://mcrypt.sourceforge.net
Get both the libmcrypt and mcrypt compressed archives from command prompt on linux... cd /path/to/libmcrypt.xx.tar.gz gzip -dfrv libmcrypt.xx.tar.gz tar -xvf libmcrypt.xx.tar cd libmcrypt.xx/ ./config --disable-posix-threads make make install
now do the same for mcrypt cd /path/to/mcrypt.xx.tar.gz gzip -dfrv mcrypt.xx.tar.gz tar -xvf mcrypt.xx.tar cd mcrypt.xx/ ./config --disable-posix-threads make make install
now you need to compile php for mcrypt support cd /path/to/php-4.xx ./configure --with-mcrypt=/path/to/libmcrypt/ make make install
simple, now if your using apache on windows you need to get the windows executables from mcrypt.sourceforge.net
Also if mcrypt is already installed simple do a find
find / | grep libmcrypt
from a command prompt to find the libraries, if you cannot find it them install it, or just re-compile php to include support.
Hope this helps, it took me awhile to figure it out too. Jas
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php