docker php7.2-fpm can't install imap module

前端 未结 3 1167
误落风尘
误落风尘 2021-01-12 15:03

I\'m having problems trying to get imap working with my docker-compose.

Here is what my php dockerfile looks like.

FROM php:7.2-fpm

RUN apt-get upda         


        
3条回答
  •  无人共我
    2021-01-12 15:37

    To use imap module with PHP in Docker you must configure extension like this

    docker-php-ext-configure imap --with-kerberos --with-imap-ssl
    

    You can see an example of Dockerfile in one of my project

提交回复
热议问题