wodby / php

Generic PHP docker container images
MIT License
152 stars 103 forks source link

Diocument how to use PHP_EXTENSIONS_DISABLE #147

Closed andypost closed 3 years ago

andypost commented 3 years ago

setting this environment variable in docker-compose PHP_EXTENSIONS_DISABLE=sqlsrv rdkafka pgsql pdo_sqlsrv pdo_pgsql pcov mongodb ldap intl imap grpc event ds ast ampq brings notice

WARNING: instructed to disable module sqlsrv rdkafka pgsql pdo_sqlsrv pdo_pgsql pcov mongodb ldap intl imap grpc event ds ast ampq but it was not found

andypost commented 3 years ago

If I use , as separator it still can't find each extension

andypost commented 3 years ago

It works as comma separated PHP_EXTENSIONS_DISABLE: 'sqlsrv,rdkafka,pgsql,pdo_sqlsrv,pdo_pgsql,pcov,mongodb,ldap,intl,imap,grpc,event,ds,ast,amqp'

csandanov commented 3 years ago

it's already documented at https://github.com/wodby/php#php-extensions