I've been using the php:apache image before and had no problems with PDO and MySQL, but suddenly it fails with an exception "driver not found". This happened after the boot2docker vm had been removed and recreated, so a new image must have been downloaded.
I've seen docker-php-ext-install mentioned in other issues, and have tried to use that:
docker exec -it <container ID> docker-php-ext-install pdo pdo_mysql
That doesn't help.
I've been using the php:apache image before and had no problems with PDO and MySQL, but suddenly it fails with an exception "driver not found". This happened after the boot2docker vm had been removed and recreated, so a new image must have been downloaded.
I've seen
docker-php-ext-installmentioned in other issues, and have tried to use that:That doesn't help.