Sign inSign up

indiepartners/indie-php

By indiepartners

Updated over 6 years ago

Docker registry for indie php images

Image
0

2.1K

indiepartners/indie-php repository overview

PHP docker image

PHP container use for Indie Partners Project.

How to use it ?

docker run -d -p "9000:9000" indiepartners/indie-php:7.0-0.1.1

Customize it

UID

Provide the UID to run PHP with.

  • Example: UID=1000
  • Default value is 33.
DATE_TIMEZONE

Provide the Timezone to be used in container.

  • Example: DATE_TIMEZONE=UTC
  • Default value is UTC.
DISPLAY_ERRORS

Should we display PHP errors.

  • Example: DISPLAY_ERRORS=0
  • Default value is 0.
DISPLAY_STARTUP_ERRORS

Should we display PHP startup errors.

  • Example: DISPLAY_STARTUP_ERRORS=0
  • Default value is 0
LOG_ERRORS

Log PHP errors.

  • Example: LOG_ERRORS=1
  • Default value is 1
MEMORY_LIMIT

Define maximum memory a PHP script can use.

  • Example: MEMORY_LIMIT=256M
  • Default value is 512M
SYS_TEMP_DIR

Folder to use to store temporary files.

  • Example: SYS_TEMP_DIR=tmp
  • Default value is tmp.
  • Rem: sys_temp_dir will be prefixed with /var/www/app (id. /var/app/www/tmp).
UPLOAD_TEMP_DIR

Folder to use to store temporary uploaded file.

  • Example: UPLOAD_TEMP_DIR=tmp
  • Default value is tmp.
  • Rem: upload_tmp_dir will be prefixed with /var/www/app (id. /var/app/www/tmp).
UPLOAD_MAX_FILESIZE

Define the max filesize which can be uploaded.

  • Example: UPLOAD_MAX_FILESIZE=512M
  • Default value is 512M
MAX_EXECUTION_TIME

Define the maximum time a PHP script can run.

  • Example: MAX_EXECUTION_TIME=600
  • Default value is 600
POST_MAX_SIZE

Define the maximum size of a POST request.

  • Example: POST_MAX_SIZE=512M
  • Default value is 512M
  • Rem: UPLOAD_MAX_FILESIZE and POST_MAX_SIZE should be equal.
VARIABLES_ORDER

Define the order of variables declared in PHP

  • Example: VARIABLES_ORDER=EGPCS
  • Default value is GPCS

Tag summary

Content type

Image

Digest

Size

240.6 MB

Last updated

almost 8 years ago

docker pull indiepartners/indie-php