-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker php7.2 not installing mcrypt #541
Comments
FYI mcrypt has been deprecated in 7.1 and removed in 7.2 in favor of OpenSSL |
Is OpenSSL installed as default? Because I can't see it on the available extension to install. |
@soullivaneuh , It is already there: $ docker run -it --rm php:7.2 php -m
[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
|
Many legacy applications still need access to mcrypt. It was moved to pecl. For php 7.2+ try:
|
Maybe that could help. https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ |
I am running wordpress:latest docker image (wp 4.9.1 ,php7.2)
For my payment gateway i need mcrypt
my dockerfile contains
RUN apt install libmcrypt-dev
RUN docker-php-ext-install -j$(nproc) mcrypt
or
RUN docker-php-ext-configure mcrypt
RUN docker-php-ext-install -j$(nproc) mcrypt
Both are not working
`
`
The text was updated successfully, but these errors were encountered: