Sign inSign up

luzat/php

By luzat

•Updated over 5 years ago

This is a customized docker image of PHP FPM for providing a local development environment.

Image
1

3.4K

luzat/php repository overview

⁠docker-php

This is a customized docker image of PHP FPM based on the official images. It is used for providing a local development environment.

Please note: This is mostly used internally, but I am happy if anyone finds this useful or provides improvements.

⁠Features

  • Commonly used extensions are enabled:
    • apcu
    • bcmath
    • bz2
    • exif
    • gd
    • gettext
    • intl
    • memcached
    • mysqli
    • opcache
    • pdo
    • pdo_mysql
    • pdo_pgsql
    • pdo_sqlite
    • pdo_sqlsrv
    • pgsql
    • redis
    • soap
    • sockets
    • sqlsrv
    • xdebug
    • xsl
    • zip
  • Configurability:
    • *.ini taken from /usr/local/etc/php/conf.d.local (samples in conf.d⁠)
    • timezone taken from $PHP_TIMEZONE (default: Europe/Berlin)
  • Other:
    • composer-1, composer-2/composer, n98-magerun2, and symfony preinstalled
    • UTF-8 locales built for en_US, en_GB and de_DE
    • file extensions not limited to .php (dangerous!)
    • ssmtp preconfigured as MTA which delivers to mailcatcher:1025

⁠Getting started

See luzat/template-php⁠ for example usage.

⁠Author

Thomas Luzat - luzat.com⁠

⁠License

This project is licensed under the ISC License⁠.

Tag summary

Content type

Image

Digest

Size

215.2 MB

Last updated

over 5 years ago

docker pull luzat/php