Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<RequirementsPredefined Constants>
^Installing/ConfiguringLast updated: Mon, 26 Oct 2026

Installation

You need to compile PHP with the --with-mhash parameter to enable this extension.

The mhash functions are provided by the Hash extension, which is always available. The --with-mhash option is deprecated as of PHP 8.1.0 and emits a warning at configure time.


<RequirementsPredefined Constants>
^Installing/ConfiguringLast updated: Mon, 26 Oct 2026