Sign inSign up

gmaissa/php

By gmaissa

•Updated over 10 years ago

PHP images based on Debian distribs

Image
0

2.7K

gmaissa/php repository overview

⁠Docker Images for PHP

PHP Docker images based on Debian distribs.

CHANGELOG⁠

ImageDockerfileInfo
5.4-apacheapache/5.4/Dockerfile⁠
5.6-apache, latestapache/5.6/Dockerfile)⁠

⁠PHP modules

Some modules are installed by default :

  • php5-cli
  • php5-curl
  • php5-intl
  • php5-common
  • php5-mcrypt
  • php5-mysql
  • php5-xsl
  • php5-gd
  • php5-memcached

⁠Volumes

PathInfo
/var/www/projectApp sources directory (also used as default docroot)

⁠Exposed ports

PortInfo
80Apache default port
443Apache SSL port

⁠Environment variables

There are environment variables which can be passed to images on docker run

VariableDescription
PHP_OPCACHE_MEM_SIZEMemory amount to use to store opcode cache
PHP_TIMEZONEPHP Timezone for both webserver/FPM and CLI
PHP_MEMORY_LIMITMemory limit for php_mods or FPM
PHP_MAX_EXECUTION_TIMEMax execution time
PHP_MAX_INPUT_TIMEMax input time
PHP_UPLOAD_MAX_FILESIZEMax size for uploaded files
PHP_POST_MAX_SIZEMax size for post data
PHP_CLI_MEMORY_LIMITMemory limit for CLI
PHP_ERROR_REPORTINGError reporting configuration
PHP_DISPLAY_ERRORError display configuration
PHP_SESSION_SAVE_HANDLERHandler to use to store session
PHP_SESSION_SAVE_PATHPath where to store sessions
XDEBUG_ENABLEEnable xdebug (will install module)
XDEBUG_REMOTE_HOSTXDebug remote host configuration (will be configured if XDebug is enabled
XDEBUG_REMOTE_PORTXDebug remote port configuration (will be configured if XDebug is enabled
BLACKFIRE_ENABLEEnable Blackfire probe (will install module)
BLACKFIRE_AGENT_HOSTBlackfire agent host (default is blackfire:8707)

Tag summary

Content type

Image

Digest

Size

181.8 MB

Last updated

over 10 years ago

docker pull gmaissa/php