Awesome
PHP-FPM
Supported Versions
中国镜像
ccr.ccs.tencentyun.com/khs1994/php:TAG
后缀
- 8.2.13-cli-alpine
- 8.2.13-fpm-alpine
- 8.2.13-unit-alpine (based cli)
- 8.2.13-composer-alpine (based fpm)
- 8.2.13-swoole-alpine (based cli)
- 8.2.13-s6-alpine (based fpm)
Supported tags and respective Dockerfile
links
Overview
基于官方 PHP 修改的 Docker 镜像,添加了一些常用 PHP 扩展、Composer 和 Laravel 安装程序。
RUN
Please use docker-compose
, example see khs1994-docker/lnmp.
Who use it?
khs1994-docker/lnmp use this Docker Image.
bin
- php
- php-cgi
- php-config
- phpdbg
- phpize
sbin
- php-fpm
Extension
$ pickle install x x1 x2-beta x3-x.y.z -n --defaults
$ docker-php-source extract
$ for ext in `ls /usr/src/php/ext`; do echo '*' $( php -r "if(extension_loaded('$ext')){echo '[x] $ext';}else{echo '[ ] $ext';}" ); done
- bcmath
- bz2
- calendar
- com_dotnet
- ctype
- curl
- date
- dba
- dom
- enchant
- exif
- ext_skel.php
- ffi
- fileinfo
- filter
- ftp
- gd
- gettext
- gmp
- hash
- iconv
- imap
- intl
- json
- ldap
- libxml
- mbstring
- mysqli
- mysqlnd
- oci8
- odbc
- opcache
- openssl
- pcntl
- pcre
- pdo
- pdo_dblib
- pdo_firebird
- pdo_mysql
- pdo_oci
- pdo_odbc
- pdo_pgsql
- pdo_sqlite
- pgsql
- phar
- posix
- pspell
- readline
- reflection
- session
- shmop
- simplexml
- skeleton
- snmp
- soap
- sockets
- sodium
- spl
- sqlite3
- standard
- sysvmsg
- sysvsem
- sysvshm
- tidy
- tokenizer
- xml
- xmlreader
- xmlwriter
- xsl
- zend_test
- zip
- zlib
系统支持
Debian Buster 不支持 7.3 及以下(freetype-config)
More Information
-
https://git.alpinelinux.org/aports/tree/community/php8/APKBUILD
-
https://sources.debian.org/src/php7.3/7.3.29-1~deb10u1/debian/control/
-
https://sources.debian.org/src/php7.4/7.4.33-1+deb11u1/debian/control/
-
https://sources.debian.org/src/php8.1/8.2.13-1/debian/control/
-
https://ram.tianon.xyz/post/2017/12/26/dockerize-compiled-software.html
-
https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/