Skip to content

Extend Official PHP Docker Image | Based Alpine

Notifications You must be signed in to change notification settings

khs1994-docker/php

Repository files navigation

PHP-FPM

GitHub stars GitHub tag Docker Stars Docker Pulls Build Status

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

$ 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