Docker – 调用未定义函数mcrypt_get_block_size()

docker中 ,我调用了未定义的函数mcrypt_get_block_size() ,在容器中我安装了php5-mcrypt,并在php.ini中写入了扩展名= mcrypt.so,但是不工作。

sudo docker exec -i -t docker_pbr_1 /bin/bash apt-get update apt-get install php5-mcrypt php5enmod mcrypt /etc/init.d/apache2 restart 

我有PHP 5.6,但没有findphp5-mcrypt。