You need to compile PHP with the --with-mhash[=DIR] parameter to enable this extension. DIR is the mhash install directory.