You can enable this module by creating a symbolic link from
/etc/php-5.4.sample/gmp.ini to
/etc/php-5.4/gmp.ini. As root:

    ln -sf /etc/php-5.4.sample/gmp.ini /etc/php-5.4/gmp.ini
