Skip to content

docker php7.2 not installing mcrypt #541

@Niko-La

Description

@Niko-La

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

`

usage: /usr/local/bin/docker-php-ext-configure ext-name [configure flags]
ie: /usr/local/bin/docker-php-ext-configure gd --with-jpeg-dir=/usr/local/something

Possible values for ext-name:
bcmath bz2 calendar ctype curl dba dom enchant exif fileinfo filter ftp gd gettext gmp hash iconv imap interbase intl json ldap mbstring mysqli oci8 odbc opcache pcntl pdo pdo_dblib pdo_firebird pdo_mysql pdo_oci pdo_odbc pdo_pgsql pdo_sqlite pgsql phar posix pspell readline recode reflection session shmop simplexml snmp soap sockets sodium spl standard sysvmsg sysvsem sysvshm tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl zend_test zip

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions