Though this page claims hash is part of core , you will not have it if you use the "--disable-all" switch in your config. In this case it is necessary to also use "--enable-hash" to access the associated functionality.
As of PHP 5.1.2, the Hash extension is bundled and compiled into PHP by default.
It may be explicitly disabled by using the --disable-hash switch to configure. Earlier versions of PHP may incorporate the Hash extension by installing the » PECL module.
As of PHP 7.4.0, the Hash extension is a core PHP extension, so it is always enabled.
Though this page claims hash is part of core , you will not have it if you use the "--disable-all" switch in your config. In this case it is necessary to also use "--enable-hash" to access the associated functionality.