Docker Community Forums

Share and learn in the Docker community.

Missing PHP 7.2 extensions on container


#1

Hi there,
I’m trying to switch from a Virtual Machine (running under Ubuntu) with Docker on it to Docker for Windows.

When i intend to build the same image, I have missing PHP extensions and I cannot open my webpage. Which is weird.

Have anyone already encountered that kind of problem ?

Here is the compareason :

Windows
Core
date
filter
hash
libxml
openssl
pcntl
pcre
Reflection
session
sodium
SPL
standard
zlib

And debian (what i want to have)

calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

FIY, when i open my webpage (running with Symfony 4)

Thanks ! :slight_smile:

Louis