-
Notifications
You must be signed in to change notification settings - Fork 2.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
Fatal error: Class 'mysqli' not found in - on line 19 #943
Comments
That's odd -- from what I can tell, $ docker pull wordpress
Using default tag: latest
latest: Pulling from library/wordpress
ef0380f84d05: Already exists
d676534ff315: Already exists
c80a1f6ddd8d: Already exists
c3e9b0c1871f: Already exists
b5e2756f5f08: Already exists
cd2ca1686b17: Already exists
529b20a8291d: Already exists
dd0c35492a16: Already exists
719b692e57dd: Already exists
19f393a2429a: Already exists
125592bbc92c: Already exists
2a288be79100: Already exists
2a5502930c88: Already exists
3b984cb927ea: Pull complete
02a2191cdfe3: Pull complete
b27821cc8027: Pull complete
ef0e2e9e9b36: Pull complete
5093214ddfa7: Pull complete
Digest: sha256:3171062081a424196624db488f59b70b9fc15a8b77512c93ba58221f494c4ab5
Status: Downloaded newer image for wordpress:latest
$ docker run -it --rm wordpress sh -c 'php -i | grep mysqli'
/usr/local/etc/php/conf.d/docker-php-ext-mysqli.ini,
mysqli
mysqli.allow_local_infile => On => On
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
mysqli.rollback_on_cached_plink => Off => Off
API Extensions => mysqli |
Hi, strangely, now it works.
|
Huh, well glad it got sorted out! I'm going to close, since it sounds like it was an environmental issue. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to run a new container using compose, and I am getting this message:
Fatal error: Class 'mysqli' not found in - on line 19
I am using docker compose, and till now it worked without a problem, is it due to recent changes? Maybe the new 4.8 version?
Here the (censored) compose file I use:
The text was updated successfully, but these errors were encountered: