Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Docker Images

What's this?

This is an unofficial Alpine Linux based PHP Docker images with all possible extensions and composer installed on the official PHP Docker images.

The curl extension also supports HTTP/2.0.

Usage

docker run -it --rm sunaoka/php:8.0.9-alpine php

The usage is the same as the official PHP Docker images.

Supported PHP version

  • PHP 5.5.38
  • PHP 5.6.40
  • PHP 7.0.33
  • PHP 7.1.33
  • PHP 7.2.34
  • PHP 7.3.29
  • PHP 7.4.22
  • PHP 8.0.9

Installed extensions

The installed extensions are listed in the table below.

And, only extensions marked with * are enabled by default.

Extension 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
amqp ✓ ✓ ✓ ✓ ✓ ✓ ✓
apcu * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
apcu_bc ✓ ✓ ✓ ✓ ✓
ast ✓ ✓ ✓ ✓ ✓ ✓
bcmath * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
blackfire ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
bz2 * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
calendar * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
cmark ✓ ✓ ✓ ✓ ✓
csv ✓ ✓ ✓
dba * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
decimal ✓ ✓ ✓ ✓ ✓ ✓
ds ✓ ✓ ✓ ✓ ✓ ✓
enchant ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
ev ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
event ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
excimer ✓ ✓ ✓ ✓ ✓
exif * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
ffi * ✓ ✓
gd * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
gearman ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
geoip ✓ ✓ ✓ ✓ ✓ ✓ ✓
geospatial ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
gettext * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
gmagick ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
gmp * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
gnupg ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
grpc ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
http ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
igbinary ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
imagick * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
imap ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
inotify ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
interbase
intl * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
ioncube_loader ✓ ✓ ✓ ✓ ✓ ✓ ✓
jsmin ✓ ✓ ✓ ✓ ✓ ✓ ✓
json_post ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
ldap * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
lzf ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
mailparse ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
maxminddb ✓ ✓ ✓ ✓
mcrypt * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
memcache ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
memcached * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
mongo ✓ ✓
mongodb ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
mosquitto ✓ ✓ ✓ ✓ ✓ ✓ ✓
msgpack ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
mssql ✓ ✓
mysql ✓ ✓
mysqli * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
oauth ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
oci8
odbc ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
opcache * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
opencensus ✓ ✓ ✓ ✓ ✓ ✓
pcntl ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
pcov * ✓ ✓ ✓ ✓ ✓ ✓
pdo_dblib * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
pdo_firebird
pdo_mysql * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
pdo_oci - -
pdo_odbc * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
pdo_pgsql * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
pdo_sqlsrv ✓ ✓ ✓ ✓ ✓ ✓
pgsql * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
propro ✓ ✓ ✓ ✓ ✓ ✓ ✓
protobuf ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
pspell * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
raphf ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
rdkafka ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
recode ✓ ✓ ✓ ✓ ✓ ✓
redis * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
seaslog ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
shmop * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
smbclient ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
snmp ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
snuffleupagus ✓ ✓ ✓ ✓ ✓ ✓
soap * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
sockets * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
solr ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
spx ✓ ✓ ✓ ✓ ✓ ✓ ✓
sqlsrv ✓ ✓ ✓ ✓ ✓ ✓
ssh2 ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
stomp ✓ ✓ ✓ ✓ ✓ ✓ ✓
swoole ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
sybase_ct ✓ ✓
sysvmsg * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
sysvsem * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
sysvshm * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
tensor ✓ ✓ ✓ ✓
tidy * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
timezonedb ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
uopz ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
uploadprogress ✓ ✓ ✓ ✓ ✓ ✓ ✓
uuid * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
vips ✓ ✓ ✓ ✓ ✓ ✓
wddx ✓ ✓ ✓ ✓ ✓ ✓
xdebug * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
xhprof ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
xlswriter ✓ ✓ ✓ ✓ ✓ ✓
xmldiff ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
xmlrpc ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
xsl * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
yac ✓ ✓ ✓ ✓ ✓ ✓
yaml ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
yar ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
zip * ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
zookeeper ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
zstd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓

File tree

/usr/local/bin

PHP binaries, composer and installer.

/usr/local/bin
├── composer
└── PHP binaries (php, pear, etc.)

/usr/local/lib/php/extensions/no-debug-non-zts-YYYYMMDD

Extensions.

/usr/local/lib/php/extensions/no-debug-non-zts-YYYYMMDD
└── *.so

/usr/local/etc/php

Configuration file.

/usr/local/etc/php
├── conf.d
│   └── *.ini
├── php.ini-development
└── php.ini-production

About

This is an unofficial Alpine Linux based PHP Docker images with all possible extensions and composer installed on the official PHP Docker images.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages