Есть докерфайл
FROM phpdockerio/php:7.4-fpm
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
mc \
php7.4-gd \
php7.4-imagick \
php7.4-intl \
php7.4-interbase \
php7.4-mbstring \
php7.4-mcrypt \
php7.4-memcache \
php7.4-memcached \
php7.4-mysql \
php7.4-mysqli \
php7.4-pdo \
php7.4-opcache \
php7.4-soap \
php7.4-xdebug \
php7.4-zip \
php7.4-pear \
php7.4-pdo-mysql \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
Но почему-то при установке нет в модулях php mysqli
root@28a65a9eba80:/var/www# php -m
Warning: PHP Startup: Unable to load dynamic library 'mcrypt' (tried: /usr/lib/php/20190902/mcrypt (/usr/lib/php/20190902/mcrypt: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/mcrypt.so (/usr/lib/php/20190902/mcrypt.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[PHP Modules]
apc
apcu
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache