I have a Docker Container with Phalcon3 and php 7. I am trying to install the php extension Mcrypt without luck.
If I do ssh to the container, and execute:
apt-get update
apt-get install php7.0-mcrypt
I get the following:
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by regex 'php7.0-mcrypt'
Is there a way to get it installed?
i added the code to my Dockerfile but i get this Error
Lets look at official manual for php docker image Section PHP Core Extensions
From PHP manual:
This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 7.2.0.
So in your Dockerfile you have to: