TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.37k stars 736 forks source link

Request: Add PDO support #97

Closed icebrian closed 2 years ago

icebrian commented 2 years ago

Firstly, thanksfor this container, very useful indeed!

For my specific need I had to build my own container based on your image to add PDO support https://github.com/icebrian/php-nginx-pdo/blob/main/Dockerfile

May-be consider adding it by default? Anyways, if not no worries.

TrafeX commented 2 years ago

Hi @icebrian,

Thank you for the compliment! I'm trying to keep this image as small as possible, so the number of extensions included are limited. PDO is very popular, but what specific driver you need depends; some use MySQL, some PostgreSQL and some don't use PDO at all. So not an extension that will benefit everyone when added unfortunately.