Skip to content

PHP 5.6 & Apache Dockerfile

Evil Wizard edited this page Nov 7, 2023 · 6 revisions

A base PHP 5.6 Apache 2 image for demonstrating legacy projects available at EWC Docker Hub.

Use docker pull ewc2020/web:php-5.6-apache-latest to get a copy of the image.

An older version of PHP that some older codebase sites would require as an environment to run in.

Other Packages Included

  • Node v8.x
  • Composer v1.7.1
  • libxml2-dev
  • libzip-dev
  • libyaml-dev
  • zip
  • unzip
  • git
  • nodejs
  • default-mysql-client
  • vim
  • npm i npm@$NPM_VERSION -g
    • Uses a .env build-arg called NPM_VERSION to specify the npm version.
  • yaml-1.3.0

PHP Extensions:

  • gettext
  • mysqli
  • pdo_mysql
  • zip
  • yaml
Clone this wiki locally