The Hash extension is a core PHP extension, so it is always enabled.
Prior to PHP 7.4.0, the Hash extension was bundled and compiled into PHP by default, but could be explicitly disabled using --disable-hash.
Prior to 5.1.2, the Hash extension was installed as a » PECL module.