PHP Docker images based on Debian distribs.
Dockerfile links| Image | Dockerfile | Info |
|---|---|---|
5.4-apache | apache/5.4/Dockerfile | |
5.6-apache, latest | apache/5.6/Dockerfile) |
Some modules are installed by default :
| Path | Info |
|---|---|
| /var/www/project | App sources directory (also used as default docroot) |
| Port | Info |
|---|---|
| 80 | Apache default port |
| 443 | Apache SSL port |
There are environment variables which can be passed to images on docker run
| Variable | Description |
|---|---|
PHP_OPCACHE_MEM_SIZE | Memory amount to use to store opcode cache |
PHP_TIMEZONE | PHP Timezone for both webserver/FPM and CLI |
PHP_MEMORY_LIMIT | Memory limit for php_mods or FPM |
PHP_MAX_EXECUTION_TIME | Max execution time |
PHP_MAX_INPUT_TIME | Max input time |
PHP_UPLOAD_MAX_FILESIZE | Max size for uploaded files |
PHP_POST_MAX_SIZE | Max size for post data |
PHP_CLI_MEMORY_LIMIT | Memory limit for CLI |
PHP_ERROR_REPORTING | Error reporting configuration |
PHP_DISPLAY_ERROR | Error display configuration |
PHP_SESSION_SAVE_HANDLER | Handler to use to store session |
PHP_SESSION_SAVE_PATH | Path where to store sessions |
XDEBUG_ENABLE | Enable xdebug (will install module) |
XDEBUG_REMOTE_HOST | XDebug remote host configuration (will be configured if XDebug is enabled |
XDEBUG_REMOTE_PORT | XDebug remote port configuration (will be configured if XDebug is enabled |
BLACKFIRE_ENABLE | Enable Blackfire probe (will install module) |
BLACKFIRE_AGENT_HOST | Blackfire agent host (default is blackfire:8707) |
Content type
Image
Digest
Size
181.8 MB
Last updated
over 10 years ago
docker pull gmaissa/php