Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Latest commit

 

History

History
237 lines (209 loc) · 13.3 KB

README.md

File metadata and controls

237 lines (209 loc) · 13.3 KB

PHP Docker Container Images

Build Status Docker Pulls Docker Stars Wodby Slack

Table of Contents

Docker Images

Images are built via Travis CI and published on Docker Hub.

Versions

PHP version (link to Dockerfile) Alpine Linux version
7.1.6 3.6
7.0.20 3.6
5.6.30 3.6
5.3.29 3.4

Environment Variables

The default configuration is not recommended to be used for production environment:

Environment Variable 7.1 7.0 5.6 5.3
PHP_ALWAYS_POPULATE_RAW_POST_DATA - - 0 0
PHP_APCU_ENABLE 1 1 - -
PHP_APCU_SHM_SEGMENTS 1 1 - -
PHP_APCU_SHM_SIZE 32M 32M - -
PHP_APCU_ENTRIES_HINT 4096 4096 - -
PHP_APCU_TTL 0 0 - -
PHP_APCU_GC_TTL 3600 3600 - -
PHP_APCU_SLAM_DEFENSE 1 1 - -
PHP_APCU_ENABLE_CLI 0 0 - -
PHP_APCU_USE_REQUEST_TIME 1 1 - -
PHP_APCU_SERIALIZER default default - -
PHP_APCU_COREDUMP_UNMAP 0 0 - -
PHP_APCU_PRELOAD_PATH NULL NULL - -
PHP_ASSERT_ACTIVE On On On On
PHP_CLI_MEMORY_LIMIT -1 -1 -1 -1
PHP_DATE_TIMEZONE UTC UTC UTC UTC
PHP_DISPLAY_ERRORS On On On On
PHP_DISPLAY_STARTUP_ERRORS On On On On
PHP_ERROR_REPORTING E_ALL E_ALL E_ALL E_ALL
PHP_EXPOSE Off Off Off Off
PHP_FPM_LOG_LEVEL notice notice notice notice
PHP_FPM_CLEAR_ENV no no no -
PHP_FPM_MAX_CHILDREN 48 48 48 48
PHP_FPM_MAX_REQUESTS 500 500 500 500
PHP_FPM_START_SERVERS 2 2 2 2
PHP_FPM_MIN_SPARE_SERVERS 1 1 1 1
PHP_FPM_MAX_SPARE_SERVERS 3 3 3 3
PHP_LOG_ERRORS_MAX_LEN 1024 1024 1024 1024
PHP_MAX_EXECUTION_TIME 120 120 120 120
PHP_MAX_INPUT_TIME 60 60 60 60
PHP_MAX_INPUT_VARS 2000 2000 2000 2000
PHP_MBSTRING_HTTP_INPUT - -
PHP_MBSTRING_HTTP_OUTPUT - -
PHP_MBSTRING_ENCODING_TRANSLATION - - Off Off
PHP_MEMORY_LIMIT 512M 512M 512M 512M
PHP_MYSQL_CACHE_SIZE - - 2000 2000
PHP_MYSQLI_CACHE_SIZE 2000 2000 2000 2000
PHP_OPCACHE_ENABLE 1 1 1 1
PHP_OPCACHE_VALIDATE_TIMESTAMPS 1 1 1 1
PHP_OPCACHE_REVALIDATE_FREQ 2 2 2 2
PHP_OPCACHE_MAX_ACCELERATED_FILES 20000 20000 20000 20000
PHP_OPCACHE_MEMORY_CONSUMPTION 64 64 64 64
PHP_OPCACHE_INTERNED_STRINGS_BUFFER 16 16 16 16
PHP_OPCACHE_FAST_SHUTDOWN 1 1 1 1
PHP_OUTPUT_BUFFERING 4096 4096 4096 4096
PHP_PDO_MYSQL_CACHE_SIZE 2000 2000 2000 2000
PHP_POST_MAX_SIZE 512M 512M 512M 512M
PHP_REALPATH_CACHE_SIZE 4096k 4096k 16k 16k
PHP_REALPATH_CACHE_TTL 120 120 120 120
PHP_SENDMAIL_PATH /bin/true /bin/true /bin/true /bin/true
PHP_SESSION_AUTO_START 0 0 0 0
PHP_SESSION_BUG_COMPAT_42 - - - On
PHP_SESSION_BUG_COMPAT_WARN - - - On
PHP_TRACK_ERRORS - - - On
PHP_UPLOAD_MAX_FILESIZE 512M 512M 512M 512M
PHP_XDEBUG
PHP_XDEBUG_DEFAULT_ENABLE 0 0 0 0
PHP_XDEBUG_MAX_NESTING_LEVEL 256 256 256 256
PHP_XDEBUG_REMOTE_ENABLE 1 1 1 1
PHP_XDEBUG_REMOTE_PORT 9000 9000 9000 9000
PHP_XDEBUG_REMOTE_AUTOSTART 1 1 1 1
PHP_XDEBUG_REMOTE_CONNECT_BACK 1 1 1 1
PHP_XDEBUG_REMOTE_HOST localhost localhost localhost localhost
PHP_ZEND_ASSERTIONS 1 1 1 -

Legend:

  • "-" - Not available for this version

PHP Extensions

Extension 7.1 7.0 5.6 5.3
amqp 1.9.1 1.9.1 1.9.1 1.9.1
apc - - -
apcu 5.1.8 5.1.8 4.0.11 4.0.11
ast 0.1.4 0.1.4 - -
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
ereg - -
fileinfo
filter
ftp
gd
hash
iconv
imagick 3.4.3 3.4.3 3.4.3 -
imap
intl
json
ldap
libxml
mbstring
mcrypt
memcached 3.0.3 3.0.3 2.2.0 2.2.0
[mongo] - - - 1.6.14
mongodb 1.1.10 1.1.10 1.1.10 -
mysql - -
mysqli
mysqlnd
OAuth 2.0.2 2.0.2 1.2.3 1.2.3
openssl
pcntl - -
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
redis 3.1.2 3.1.2 3.1.2 -
Reflection
session
SimpleXML
soap
sockets
SPL
SQLite - - -
sqlite3
standard
tokenizer
uploadprogress latest latest 1.0.3.1 1.0.3.1
xdebug 2.5.5 2.5.5 2.5.5 2.2.7
xml
xmlreader
xmlrpc
xmlwriter
xsl
yaml 2.0.0 2.0.0 1.3.0 1.3.0
Zend OPcache 7.0.5
zip
zlib

Legend:

  • [EMPTY] – Core PHP extension
  • "-" - Not exists in this version

Tools

Tool Version
Gotpl 0.1.5
Composer latest
PHPUnit 6.2
Walter 1.3.0

Global Composer Packages

Package Version
hirak/prestissimo ^0.3

Orchestration Actions

Usage:

make COMMAND [params ...]
 
commands:
    git-clone url [branch]
    git-checkout target [is_hash]   
    update-keys
    walter
    
default params values:
    is_hash 0
    branch "" Branch, tag or hash commit 

Usage

Used in the following projects: