Skip to content

Instantly share code, notes, and snippets.

@shyd
Last active February 4, 2024 12:17
Show Gist options
  • Select an option

  • Save shyd/a03bdddb1fe4363d102c4f34822c5be0 to your computer and use it in GitHub Desktop.

Select an option

Save shyd/a03bdddb1fe4363d102c4f34822c5be0 to your computer and use it in GitHub Desktop.
install php imap in dockerfile
FROM php:5-apache
RUN apt-get update && \
apt-get install -y \
libc-client-dev libkrb5-dev && \
rm -r /var/lib/apt/lists/*
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install -j$(nproc) imap
@maximmandrik
Copy link
Copy Markdown

Thank you!

@cornzz
Copy link
Copy Markdown

cornzz commented Jun 28, 2022

thanks!

@stefanoconsole
Copy link
Copy Markdown

Hello, i try to put this code in dockerfile... but not working.
I try on macos...

@shyd
Copy link
Copy Markdown
Author

shyd commented Jun 9, 2023

Hello, i try to put this code in dockerfile... but not working.
I try on macos...

Hi, can you tell what does not work? Error output or sth.?

@stefanoconsole
Copy link
Copy Markdown

The code working correctly, but i've a problem... the imap php extension result not enable

@shyd
Copy link
Copy Markdown
Author

shyd commented Jun 18, 2023

The code working correctly, but i've a problem... the imap php extension result not enable

Sorry I can't help you with that.

@MSKhodadady
Copy link
Copy Markdown

tanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment