-
Notifications
You must be signed in to change notification settings - Fork 48
mcrypt Extension not loaded although installed #16
Comments
Interesting. Does a follow-up |
No, that does nothing. I think the problem comes from the base php:5.6-cli image. If I build a Dockerfile from scratch, then the mcrypt extension is loaded. Dockerfile:
Loaded modules:
|
Think we should ditch php:5.6-cli? |
Unfortunately, I do not know exactly what causing the problem inside the php image. But inside the php:5.6-cli image are some things adjusted (paths, compile options, ...) which deviate from the standard PHP installation on Debian. |
@cbeier Is there another PHP-CLI Docker Container that you would recommend we use? |
@RobLoach I have forked the container from ubermuda and customized (added necessary php extensions). My fork on github: https://github.com/cbeier/docker-composer and on docker: https://registry.hub.docker.com/u/cbeier/composer/ I currently know of no other php-cli container. Most container include php-cli with the used command line app. |
I have the same problem with mcrypt. Now using your fork @cbeier . |
Opened up a PR for this: #18 |
I think you should have used docker-php-ext-install for mcrypt Something like this works for me (I probably also install some libraries which you don't need though. these you can leave out):
|
Hi, I've similar issue with the mbstring extension see details here : https://bugs.php.net/bug.php?id=71181 |
I can't reproduce this anymore on a recent docker pull is this issue still present? |
Going to close this for now. Feel free to open up a new issue if it persists. |
I use the standard composer/composer build. It seems that the extension is installed and loaded. But in the phpinfo() the extension is not loaded / listed.
So if I install laravel via my composer container I get a error that the mcrypt extension is missing.
Output php -m:
Dockerfile:
The text was updated successfully, but these errors were encountered: