bylexus / docker-apache-php56

Docker image with apache 2.4, PHP 5.6, configurable PHP error_reporting setting
MIT License
21 stars 20 forks source link

How to add PHP5 curl? #2

Open einsqing opened 5 years ago

einsqing commented 5 years ago

How to add PHP5 curl or?

bylexus commented 5 years ago

Hi,

You have to create your own Dockerfile, then add the modules you need, e.g. like this:

FROM bylexus/apache-php56
RUN apt-get update && \
    apt-get install -y \
      php5-curl