Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 834 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 834 Bytes

docker-php

Base PHP (8.1.x) with some extensions

  • PHPUnit, because test your application is important :)

If the host is different of Gnu Linux, use the environment variable IP_HOST

  • memcached to store sessions in an external memcache server

host: memcached

  • zlib to compress (REST) ouput, more informations: zlib.configuration
  • opcache to cache the application in production

PHP_ENV=development to disable it

Optional dependencies

  • oci8, if your project need an Oracle database

Logs

  • php.ini: /var/log/php-error.log
  • php-fpm: /proc/self/fd/2

How use these images

Beacause theses images extend official PHP image, you can refer to official documentation official documentation