Sign inSign up

aleksijohansson/drupal-php-apache

By aleksijohansson

•Updated about 11 years ago

PHP Apache Docker container for Drupal. Extended from the official PHP Apache Docker image.

Image
0

1.3K

aleksijohansson/drupal-php-apache repository overview

⁠docker-drupal-php-apache

PHP Apache Docker container for Drupal. Extended from the official PHP Apache Docker image.

⁠Usage

  • Create a user called bro for PHP Apache to run as and set the user id in your Dockerfile so that you can match it to the host user id to avoid permission problems. For example if you host user is called aleksi and has user id 1000 add this to your Dockerfile:
# Add the Bro user to run Nginx with permission to the files.
RUN useradd bro -u 1000 -s /bin/bash --no-create-home

⁠Includes

  • PHP Apache with extensions required by Drupal.

⁠Rundown

  • Download and enable the following PHP extensions:
  • uploadprogress⁠
  • memcache⁠
  • gd - also libpng12-dev, libjpeg62-turbo-dev, libfreetype6-dev required from apt
  • mcrypt - also libmcrypt-dev required from apt
  • pdo_mysql, mbstring, zip and opcache

Tag summary

Content type

Image

Digest

sha256:75e391e8d…

Size

175.1 MB

Last updated

almost 11 years ago

docker pull aleksijohansson/drupal-php-apache