I'm running php:7-fpm in a docker container that is used by my nginx web server. Everything is working nicely except for when I'm trying to instantiate a mysqli connection in my PHP code. I receive the following error:
"NOTICE: PHP message: PHP Fatal error: Uncaught Error: Class 'Listener\mysqli' not found in index.php:104
Here's my Dockerfile for building the image, where I explicitly install the mysqli extension:
FROM php:7-fpm
RUN docker-php-ext-install mysqli
It appears to be installed given the phpinfo() output below. Do I need to configure or enable it somehow?