Skip to content

PHP FPM 7.2 Dockerfile

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

A base PHP-FPM 7.2 image for demonstrating legacy projects available at EWC Docker Hub.

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

An old version of PHP that some codebase sites still require to emulate a production environment to run in.

Other Packages Included

  • Node v14.x
  • Composer v1.10.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

PHP Extensions:

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