Created
October 8, 2016 13:39
-
-
Save webarthur/d96d52bf21fbd9a547fab1fa07a78ab7 to your computer and use it in GitHub Desktop.
Dockerfile php 5.6 + Apache 2 + php mongo driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:5.6-apache | |
# install apache modules | |
RUN a2enmod headers \ | |
&& a2enmod rewrite | |
# install mongo php driver | |
RUN apt-get update && apt-get install -y libssl-dev | |
RUN pecl install mongo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment