Sign inSign up

jheimbach/php-basic

By jheimbach

•Updated about 7 years ago

PHP-fpm with mcrypt, gdlib, pdo_mysql, json, opcache and zip extensions

Image
0

1.0K

jheimbach/php-basic repository overview

⁠Basic PHP (Dev) Docker container

PHP-fpm with mcrypt, gdlib, pdo_mysql, json, opcache and zip extensions

Uses the following extensions

  • mcrypt (removed in 7.2)

  • gd

  • zip

  • json

  • pdo_mysql

  • mysqli

  • opcache

⁠Settings

⁠PHP version

The following Version are supported:

  • 7.1
  • 7.2
  • 7.3 (tag:latest)
⁠Env_vars

Use these Variables for the following Settings:

ENV_VARSettingDefault Value
PHP_MAX_EXECUTION_TIMEmax_execution_time60
PHP_MAX_INPUT_TIMEmax_input_time60
PHP_MEMORY_LIMITmemory_limit512M
PHP_ERROR_REPORTINGerror_reportingE_ALL
PHP_DISPLAY_ERRORSdisplay_errorsOn
PHP_DISPLAY_STARTUP_ERRORSdisplay_startup_errorsOn
PHP_POST_MAX_SIZEpost_max_size64M
PHP_UPLOAD_MAX_FILESIZEupload_max_filesize64M
PHP_DATE_TIMEZONEdate.timezoneEurope/Berlin
⁠own php.ini

There is also the build ARG PHP_INI to point to completely different php.ini

To use the Env_vars and a own php.ini, just put <<VAR_NAME>> in the correct place and it will be automatically replaced

Tag summary

Content type

Image

Digest

Size

159.5 MB

Last updated

about 7 years ago

docker pull jheimbach/php-basic