You can disable this module by removing the
/etc/php-5.2/shmop.ini symbolic link. As root:

    rm -f /etc/php-5.2/shmop.ini
