Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

comicrelief/docker-php-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker php7-base

This is php base docker image to be extended by other Dockerfile's for more specific use cases. Currently supported php versions

  • 7.2
  • 7.1
  • 7.0

Example usage of this base image:

PHP extensions

  • apcu
  • bcmath
  • intl
  • opcache
  • pdo_mysql
  • sockets
  • xdebug

Apache vhost config

This docker image provides apache vhost site configurations to be enabled in Dockerfile which extends this one.

  • public.conf: Web directory is public
  • public-ssl.conf: Web directory is public and has ssl enabled. Expects local.key and local.crt in /var/www/html/config/ssl/ directory.
  • web.conf: Web didectory is web
  • web-ssl.conf: Web directory is web and has ssl enabled. Expects local.key and local.crt in /var/www/html/config/ssl/ directory.