How did you install PHP with --mcrypt and --mhash? wget http://kent.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.7.tar.gz tar -pxzf libmcrypt-2.5.7.tar.gz cd libmcrypt-2.5.7 ./configure --disable-posix-threads make make install cd ..