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

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