phpdocker-io/phpdocker.io

mysqli extension is missing

maksymenkoml opened this issue · 6 comments

Even after selecting all extensions, it's still missing the mysqli extension.
For example, Wordpress is not working.

[PHP Modules]
apcu
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
openssl
pcntl
pcre
PDO
Phar
posix
random
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
image

I can't help you without your docker files.

Docker files were generated from your website, and I didn't modify anything in them.
You can just select PHP 8.2 (for example), select all modules, MySQL, and try.

I still need to see your files or I won´t be able to help you.

Thank you. The problem is this:

image

You need to choose either php8.2-gmagick or php8.2-imagick but not both on your Dockerfile.

Incidentally the docker build should have failed to highlight this error, this I can fix.

Thank you for the quick fix. Now it's working.